Skip to content

Commit 789c26e

Browse files
committed
fix(delete_user): correct response status codes for delete user scenarios
1 parent 41acb32 commit 789c26e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/resources/features/delete_user.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Feature: Delete user endpoint
99
When the client call to DELETE the created user
1010
Then the response status should be 200
1111
When the client call to GET the created user
12-
Then the response status should be 400
12+
Then the response status should be 404
1313

1414
Scenario: Delete a user that does not exist
1515
When the client call to DELETE /random-users/999999
16-
Then the response status should be 404
16+
Then the response status should be 200

0 commit comments

Comments
 (0)