mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-06-27 23:41:56 +02:00
Fix phpunit tests
This commit is contained in:
parent
fc13d4faef
commit
a0d6c9ace7
@ -104,7 +104,7 @@ class TwoFAccountTest extends TestCase
|
||||
'uri' => '',
|
||||
'icon' => '',
|
||||
])
|
||||
->assertStatus(400);
|
||||
->assertStatus(422);
|
||||
}
|
||||
|
||||
|
||||
@ -122,7 +122,7 @@ class TwoFAccountTest extends TestCase
|
||||
'uri' => 'invalidTOTP',
|
||||
'icon' => 'test.png',
|
||||
])
|
||||
->assertStatus(400);
|
||||
->assertStatus(422);
|
||||
}
|
||||
|
||||
|
||||
|
@ -110,7 +110,7 @@ class UserTest extends TestCase
|
||||
'password' => ''
|
||||
]);
|
||||
|
||||
$response->assertStatus(400);
|
||||
$response->assertStatus(422);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user