Valider les resource entrente #91
@@ -79,6 +79,7 @@ class `Citizen routes` : BaseTest() {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Tag("BadRequest")
|
||||
fun `I cannot change my password if request is bad formatted`() {
|
||||
withIntegrationApplication {
|
||||
`Given I have citizen`("Louis", "Breguet", id = "6cf2a19d-d15d-4ee5-b2a9-907afd26b525")
|
||||
|
||||
@@ -89,6 +89,7 @@ class `Constitution routes` : BaseTest() {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Tag("BadRequest")
|
||||
fun `I cannot create an constitution if bad request`() {
|
||||
withIntegrationApplication {
|
||||
`Given I have citizen`("Henri", "Poincaré")
|
||||
|
||||
Reference in New Issue
Block a user