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