diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-08-14 17:03:56 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-08-14 18:13:12 +0200 |
commit | f57c12b14e360f1694a699fce5a7e8ae4c50b91c (patch) | |
tree | c95ba93938f67fa157206b2aabde701a52bcc649 /tests/lib/Authentication | |
parent | 8857599656f0ad14253084388fab7570208b21db (diff) | |
download | nextcloud-server-f57c12b14e360f1694a699fce5a7e8ae4c50b91c.tar.gz nextcloud-server-f57c12b14e360f1694a699fce5a7e8ae4c50b91c.zip |
Fix various deprecation warnings in tests on PHP 8.3
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'tests/lib/Authentication')
-rw-r--r-- | tests/lib/Authentication/Token/PublicKeyTokenProviderTest.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/lib/Authentication/Token/PublicKeyTokenProviderTest.php b/tests/lib/Authentication/Token/PublicKeyTokenProviderTest.php index a614780a908..e37ef68852d 100644 --- a/tests/lib/Authentication/Token/PublicKeyTokenProviderTest.php +++ b/tests/lib/Authentication/Token/PublicKeyTokenProviderTest.php @@ -38,6 +38,7 @@ use OCP\AppFramework\Utility\ITimeFactory; use OCP\IConfig; use OCP\IDBConnection; use OCP\Security\ICrypto; +use OCP\Security\IHasher; use PHPUnit\Framework\MockObject\MockObject; use Psr\Log\LoggerInterface; use Test\TestCase; @@ -47,6 +48,8 @@ class PublicKeyTokenProviderTest extends TestCase { private $tokenProvider; /** @var PublicKeyTokenMapper|\PHPUnit\Framework\MockObject\MockObject */ private $mapper; + /** @var IHasher|\PHPUnit\Framework\MockObject\MockObject */ + private $hasher; /** @var ICrypto */ private $crypto; /** @var IConfig|\PHPUnit\Framework\MockObject\MockObject */ |