* [FIX] Closes #920. Fixed wrong behaviour when generating a temporary master password. The encrypted password was not saved. Thanks to @Fizard for the feedback.

* [FIX] Fixed issue on unit testing environment.
This commit is contained in:
nuxsmin
2018-07-11 01:34:37 +02:00
parent c226829b7e
commit 1cccd52c85
6 changed files with 42 additions and 8 deletions

View File

@@ -158,7 +158,7 @@ class AuthTokenRepositoryTest extends DatabaseTestCase
$this->assertEquals(1, $result->getNumRows());
$this->assertInstanceOf(AuthTokenData::class, $result);
$this->assertInstanceOf(AuthTokenData::class, $data);
$this->assertTrue(Hash::checkHashKey(self::AUTH_TOKEN_PASS, $data->getHash()));
$this->assertEquals($vault, $data->getVault());