mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-26 11:48:49 +02:00
Fixed typos
This commit is contained in:
parent
63df16a369
commit
d04d743520
144 changed files with 263 additions and 265 deletions
|
@ -106,12 +106,12 @@ class UserTest extends TestCase
|
|||
//Ensure the code is valid
|
||||
$this->assertTrue($user->isBackupCode('aaaa'));
|
||||
$this->assertTrue($user->isBackupCode('bbbb'));
|
||||
//Invalidate code, afterwards the code has to be invalid!
|
||||
//Invalidate code, afterward the code has to be invalid!
|
||||
$user->invalidateBackupCode('bbbb');
|
||||
$this->assertFalse($user->isBackupCode('bbbb'));
|
||||
$this->assertTrue($user->isBackupCode('aaaa'));
|
||||
|
||||
//No exception must happen, when we try to invalidate an not existing backup key!
|
||||
//No exception must happen, when we try to invalidate a not existing backup key!
|
||||
$user->invalidateBackupCode('zzzz');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue