Skip to content

Commit

Permalink
test: fix expected value for POST
Browse files Browse the repository at this point in the history
Signed-off-by: virkt25 <[email protected]>
  • Loading branch information
virkt25 committed Sep 25, 2018
1 parent 905f93c commit 3264a7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/acceptance/shopping-cart.controller.acceptance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ describe('ShoppingCartController', () => {
await client
.post(`/shoppingCarts/${cart.userId}/items`)
.send(newItem)
.expect(204);
.expect(200);
const newCart = (await client
.get(`/shoppingCarts/${cart.userId}`)
.expect(200)).body;
Expand Down

0 comments on commit 3264a7d

Please sign in to comment.