diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/test/04-cart.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/test/04-cart.js b/test/test/04-cart.js index 5b33020b..588b0e6b 100644 --- a/test/test/04-cart.js +++ b/test/test/04-cart.js @@ -120,8 +120,26 @@ describe('shipping', function(){ }) }) describe('#set_box_type()', function(){ + it('set box types', function(done){ + // box might be hard coded to 'standard' ? + var box_type = { + "Type": "Standard" + } + promise(sdk.shipping.set_box_type, { data: box_type }).then(function(data){ + assert(data.Header.StatusCode == 200) + done() + }) + }) }) describe('#get_delivery_types()', function(){ + it('request delivery types', function(done){ + promise(sdk.shipping.get_delivery_types, { data: {} }).then(function(data){ + assert(data.Header.StatusCode == 200) + console.log(data) + done() + }) + }) + }) describe('#set_delivery_type()', function(){ }) |
