create SQL function for get citizen votes with multiple target ids
add updated_at field on vote table
This commit is contained in:
@@ -29,3 +29,10 @@ Feature: vote Article
|
||||
| limit | 50 |
|
||||
| total | 1 |
|
||||
| result[0].note | 1 |
|
||||
|
||||
Scenario: Can get votes of current citizen by target ids
|
||||
Given I am authenticated as John Doe with id "64b7b379-2298-43ec-b428-ba134930cabd"
|
||||
When I send a GET request to "/citizens/64b7b379-2298-43ec-b428-ba134930cabd/votes?id=9226c1a3-8091-c3fa-7d0d-c2e98c9bee7b&id=64b1f265-bfb3-332b-eef9-d00f63a3beaa"
|
||||
Then the response status code should be 200
|
||||
And the response should contain object:
|
||||
| [0].note | 1 |
|
||||
|
||||
Reference in New Issue
Block a user