From 3264a7d4589abdabae86d78e0deaea9c8a92f806 Mon Sep 17 00:00:00 2001 From: virkt25 Date: Tue, 25 Sep 2018 11:52:03 -0400 Subject: [PATCH] test: fix expected value for POST Signed-off-by: virkt25 --- test/acceptance/shopping-cart.controller.acceptance.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/acceptance/shopping-cart.controller.acceptance.ts b/test/acceptance/shopping-cart.controller.acceptance.ts index 423f1ab7b..7c0bc5f5f 100644 --- a/test/acceptance/shopping-cart.controller.acceptance.ts +++ b/test/acceptance/shopping-cart.controller.acceptance.ts @@ -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;