Valider les resource entrente #91

Merged
flecomte merged 46 commits from 21-valid-input into master 2021-04-16 03:27:11 +02:00
2 changed files with 2 additions and 0 deletions
Showing only changes of commit 708d241a26 - Show all commits

View File

@@ -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")

View File

@@ -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é")