From b3031b046727225069a2bc1c1836f0a918d8a379 Mon Sep 17 00:00:00 2001 From: Erick Wendel Date: Sat, 7 Dec 2024 00:58:32 -0300 Subject: [PATCH] update test case with correct result Signed-off-by: Erick Wendel --- app/test/api.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test/api.test.js b/app/test/api.test.js index d57d51e..5a4d4d6 100644 --- a/app/test/api.test.js +++ b/app/test/api.test.js @@ -77,7 +77,7 @@ describe('API Workflow', () => { const { _id, ...output } = result.at(0) ok(_id) - deepStrictEqual(statusCode, 201) + deepStrictEqual(statusCode, 200) deepStrictEqual(output, customers.find(customer => customer.name === name)) })