summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2022-12-01 18:06:58 +0100
committerJulius Härtl <jus@bitgrid.net>2023-01-04 08:30:53 +0100
commitadfe367106ccf1dd158099f10be021702297ebb5 (patch)
tree0dc32792cd83868d5871772bda733065e171d637 /tests
parentb37a4950e4b2c8cf79b59295a07d40e34afea423 (diff)
downloadnextcloud-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.php2
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,
);
}