Test openapi schema of route /opinions/*

This commit is contained in:
2021-03-22 02:57:33 +01:00
parent 50b5ca03c6
commit 5ef2345ea6
8 changed files with 249 additions and 6 deletions

View File

@@ -118,7 +118,7 @@ class `Opinion routes` : BaseTest() {
}
@Test
fun `I can get all opinion of one citizen`() {
fun `I can get all my opinion of one article`() {
withIntegrationApplication {
`Given I have citizen`("Albert", "Einstein", id = "c1542096-3431-432d-8e35-9dc071d4c818")
`Given I have an opinion choice`("Opinion9")