diff options
author | Andrew Summers <18727110+summersab@users.noreply.github.com> | 2023-08-29 18:11:00 -0500 |
---|---|---|
committer | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2024-03-15 13:04:27 +0100 |
commit | f9ce6bfdff10665d40400c80662e9b29a00d8b3f (patch) | |
tree | 673764e3d5edb4d803db744a3d4241e9437e74f4 /tests | |
parent | df1cd1ba7e6e1f6e66a2b3229b5c082f1b81162e (diff) | |
download | nextcloud-server-f9ce6bfdff10665d40400c80662e9b29a00d8b3f.tar.gz nextcloud-server-f9ce6bfdff10665d40400c80662e9b29a00d8b3f.zip |
Refactor `OC\Server::getHasher`
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/Authentication/Token/PublicKeyTokenProviderTest.php | 2 |
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') |