Add tags on tests

This commit is contained in:
2021-04-07 20:53:51 +02:00
parent e4745e71c2
commit 708d241a26
2 changed files with 2 additions and 0 deletions

View File

@@ -79,6 +79,7 @@ class `Citizen routes` : BaseTest() {
} }
@Test @Test
@Tag("BadRequest")
fun `I cannot change my password if request is bad formatted`() { fun `I cannot change my password if request is bad formatted`() {
withIntegrationApplication { withIntegrationApplication {
`Given I have citizen`("Louis", "Breguet", id = "6cf2a19d-d15d-4ee5-b2a9-907afd26b525") `Given I have citizen`("Louis", "Breguet", id = "6cf2a19d-d15d-4ee5-b2a9-907afd26b525")

View File

@@ -89,6 +89,7 @@ class `Constitution routes` : BaseTest() {
} }
@Test @Test
@Tag("BadRequest")
fun `I cannot create an constitution if bad request`() { fun `I cannot create an constitution if bad request`() {
withIntegrationApplication { withIntegrationApplication {
`Given I have citizen`("Henri", "Poincaré") `Given I have citizen`("Henri", "Poincaré")