Fix get all commet of article
This commit is contained in:
1 parent
24bc1520f7
commit
5161dca1d5
4 files changed
+48
-7
No files matched your search
@@ -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