Add/fix tags to integration tests

This commit is contained in:
2021-02-19 21:58:06 +01:00
parent 0ecf0c205f
commit d29bb4467a
8 changed files with 25 additions and 25 deletions

View File

@@ -15,7 +15,7 @@ import org.junit.jupiter.api.Test
import org.junit.jupiter.api.TestInstance
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
@Tags(Tag("integration"), Tag("citizen"))
@Tags(Tag("integration"), Tag("comment"))
class `Comment routes` : BaseTest() {
@Test
fun `I can get comments children`() {
@@ -26,7 +26,7 @@ class `Comment routes` : BaseTest() {
`When I send a GET request`("/comments/da22fc55-b0fd-42a5-a317-9583b1bb93c5/children") {
`authenticated as`("John", "Dalton")
} `Then the response should be` OK and {
`And the response should not be null`
`And the response should not be null`()
}
}
}