Fix phpunit tests

This commit is contained in:
Bubka 2020-01-20 14:23:31 +01:00
parent fc13d4faef
commit a0d6c9ace7
2 changed files with 3 additions and 3 deletions

View File

@ -104,7 +104,7 @@ public function testTwoFAccountCreationWithEmptyRequest()
'uri' => '',
'icon' => '',
])
->assertStatus(400);
->assertStatus(422);
}
@ -122,7 +122,7 @@ public function testTwoFAccountCreationWithInvalidTOTP()
'uri' => 'invalidTOTP',
'icon' => 'test.png',
])
->assertStatus(400);
->assertStatus(422);
}

View File

@ -110,7 +110,7 @@ public function testUserLoginWithMissingValues()
'password' => ''
]);
$response->assertStatus(400);
$response->assertStatus(422);
}