Fix get all commet of article

This commit is contained in:
2020-01-30 15:02:52 +01:00
parent 24bc1520f7
commit 5161dca1d5
4 changed files with 48 additions and 7 deletions

View File

@@ -11,6 +11,12 @@ Feature: comment Article
"""
Then the response status code should be 201
Scenario: Can get all comment on article
Given I am authenticated as John Doe with id "64b7b379-2298-43ec-b428-ba134930cabd"
And I have article with id "9226c1a3-8091-c3fa-7d0d-c2e98c9bee7b"
When I send a GET request to "/articles/9226c1a3-8091-c3fa-7d0d-c2e98c9bee7b/comments"
Then the response status code should be 200
Scenario: Can get comments on articles of the current citizen
Given I have citizen John Doe with id "64b7b379-2298-43ec-b428-ba134930cabd"
And I have article with id "9226c1a3-8091-c3fa-7d0d-c2e98c9bee7b"