Fix get all commet of article
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user