remove fixed raw citizen and use real current citizen

Fix tests
This commit is contained in:
2019-08-29 14:38:11 +02:00
parent 025153c4cd
commit 201430017e
6 changed files with 14 additions and 32 deletions

View File

@@ -1,10 +1,12 @@
Feature: citizens routes
Scenario: The route for get citizens must response a 200
Given I am authenticated as John Doe with id "64b7b379-2298-43ec-b428-ba134930cabd"
When I send a GET request to "/citizens"
Then the response status code should be 200
Scenario: The route for get one citizen must response a 200 and return citizen
Given I am authenticated as John Doe with id "64b7b379-2298-43ec-b428-ba134930cabd"
When I send a GET request to "/citizens/6434f4f9-f570-f22a-c134-8668350651ff"
Then the response status code should be 200
And the response should contain object: