diff options
author | Marcel Klehr <mklehr@gmx.net> | 2022-12-01 18:06:58 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2023-01-04 08:30:53 +0100 |
commit | adfe367106ccf1dd158099f10be021702297ebb5 (patch) | |
tree | 0dc32792cd83868d5871772bda733065e171d637 /tests | |
parent | b37a4950e4b2c8cf79b59295a07d40e34afea423 (diff) | |
download | nextcloud-server-adfe367106ccf1dd158099f10be021702297ebb5.tar.gz nextcloud-server-adfe367106ccf1dd158099f10be021702297ebb5.zip |
PublickKeyTokenProvider: Fix password update routine with password hash
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/Authentication/Token/PublicKeyTokenProviderTest.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib/Authentication/Token/PublicKeyTokenProviderTest.php b/tests/lib/Authentication/Token/PublicKeyTokenProviderTest.php index d6e8dba31be..ca7618dfd6d 100644 --- a/tests/lib/Authentication/Token/PublicKeyTokenProviderTest.php +++ b/tests/lib/Authentication/Token/PublicKeyTokenProviderTest.php @@ -64,6 +64,7 @@ class PublicKeyTokenProviderTest extends TestCase { parent::setUp(); $this->mapper = $this->createMock(PublicKeyTokenMapper::class); + $this->hasher = \OC::$server->getHasher(); $this->crypto = \OC::$server->getCrypto(); $this->config = $this->createMock(IConfig::class); $this->config->method('getSystemValue') @@ -87,6 +88,7 @@ class PublicKeyTokenProviderTest extends TestCase { $this->db, $this->logger, $this->timeFactory, + $this->hasher, ); } |