summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2024-03-15 15:08:32 +0100
committerGitHub <noreply@github.com>2024-03-15 15:08:32 +0100
commitf5e3fea2850ebdf84df3e6eb7431aae9847d5974 (patch)
tree1d4ab0bf5f17ff740a6a6ce1bf84fa842807b6ff /tests
parent27defd7e51a29370e513679ff0bd30b3cc49834c (diff)
parentf9ce6bfdff10665d40400c80662e9b29a00d8b3f (diff)
downloadnextcloud-server-f5e3fea2850ebdf84df3e6eb7431aae9847d5974.tar.gz
nextcloud-server-f5e3fea2850ebdf84df3e6eb7431aae9847d5974.zip
Merge pull request #40138 from summersab/refactor/OC-Server-getHasher
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Authentication/Token/PublicKeyTokenProviderTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Authentication/Token/PublicKeyTokenProviderTest.php b/tests/lib/Authentication/Token/PublicKeyTokenProviderTest.php
index 69894f14855..99d058f22a6 100644
--- a/tests/lib/Authentication/Token/PublicKeyTokenProviderTest.php
+++ b/tests/lib/Authentication/Token/PublicKeyTokenProviderTest.php
@@ -70,7 +70,7 @@ class PublicKeyTokenProviderTest extends TestCase {
parent::setUp();
$this->mapper = $this->createMock(PublicKeyTokenMapper::class);
- $this->hasher = \OC::$server->getHasher();
+ $this->hasher = \OC::$server->get(IHasher::class);
$this->crypto = \OC::$server->getCrypto();
$this->config = $this->createMock(IConfig::class);
$this->config->method('getSystemValueInt')