summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2023-01-05 08:01:47 +0100
committerGitHub <noreply@github.com>2023-01-05 08:01:47 +0100
commit18164ae5163496639737757702f59d52c0c9c657 (patch)
tree5447d0a91066f8bff7726f797434a80600a3364e /tests
parent77c016b9ebca5b498abade5ced166b9d8d286f84 (diff)
parentbd6ac2841d37a078ade635ae5ebb7f878c6b1d48 (diff)
downloadnextcloud-server-18164ae5163496639737757702f59d52c0c9c657.tar.gz
nextcloud-server-18164ae5163496639737757702f59d52c0c9c657.zip
Merge pull request #33898 from nextcloud/fix/authtoken-password-update
PublickKeyTokenProvider: Fix password update routine with password hash
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,
);
}