Improve BitMaskI

This commit is contained in:
2021-03-20 00:58:51 +01:00
parent c9ce2a9dc7
commit c1a3590b2b
2 changed files with 2 additions and 2 deletions

View File

@@ -80,7 +80,7 @@ class `Citizen routes` : BaseTest() {
fun `I cannot change my password if request is bad formatted`() {
withIntegrationApplication {
`Given I have citizen`("Louis", "Breguet", id = "6cf2a19d-d15d-4ee5-b2a9-907afd26b525")
`When I send a PUT request`("/citizens/6cf2a19d-d15d-4ee5-b2a9-907afd26b525/password/change", Validate.ALL - Validate.RESPONSE_BODY) {
`When I send a PUT request`("/citizens/6cf2a19d-d15d-4ee5-b2a9-907afd26b525/password/change", Validate.ALL - Validate.REQUEST_BODY) {
`authenticated as`("Louis", "Breguet")
`with body`("""
{

View File

@@ -43,7 +43,7 @@ class `Register routes` : BaseTest() {
@Test
fun `I cannot register if no username was sent`() {
withIntegrationApplication {
`When I send a POST request`("/register", Validate.ALL - Validate.RESPONSE_BODY) {
`When I send a POST request`("/register", Validate.ALL - Validate.REQUEST_BODY) {
`with body`("""
{
"name": {"firstName":"George2", "lastName":"MICHEL2"},