Can get current Citizen

This commit is contained in:
2019-10-02 01:28:43 +02:00
parent 9de2c91191
commit fc138790ea
3 changed files with 30 additions and 0 deletions

View File

@@ -11,3 +11,10 @@ Feature: citizens routes
Then the response status code should be 200
And the response should contain object:
| id | 6434f4f9-f570-f22a-c134-8668350651ff |
Scenario: Can get connected citizen
Given I am authenticated as John Doe with id "64b7b379-2298-43ec-b428-ba134930cabd"
When I send a GET request to "/citizens/current"
Then the response status code should be 200
And the response should contain object:
| id | 64b7b379-2298-43ec-b428-ba134930cabd |