diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-09-15 14:13:29 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-09-16 18:10:48 +0200 |
commit | 801733e5232620932dca14452b3b84dbdad14ed7 (patch) | |
tree | 6fcf0585d469710e56457a4a5240fc623b027628 /tests/lib/Encryption/EncryptionWrapperTest.php | |
parent | dde0b48c9375ed4f5fd7bac3b03e2b1c75ce9926 (diff) | |
download | nextcloud-server-801733e5232620932dca14452b3b84dbdad14ed7.tar.gz nextcloud-server-801733e5232620932dca14452b3b84dbdad14ed7.zip |
fix: Remove OCP\Files\Storage interface deprecated since version 9
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'tests/lib/Encryption/EncryptionWrapperTest.php')
-rw-r--r-- | tests/lib/Encryption/EncryptionWrapperTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Encryption/EncryptionWrapperTest.php b/tests/lib/Encryption/EncryptionWrapperTest.php index 1ecb9dc89c7..bda8597a9c4 100644 --- a/tests/lib/Encryption/EncryptionWrapperTest.php +++ b/tests/lib/Encryption/EncryptionWrapperTest.php @@ -10,7 +10,7 @@ namespace Test\Encryption; use OC\Encryption\EncryptionWrapper; use OC\Encryption\Manager; use OC\Memcache\ArrayCache; -use OCP\Files\Storage; +use OCP\Files\Storage\IStorage; use Psr\Log\LoggerInterface; use Test\TestCase; @@ -42,7 +42,7 @@ class EncryptionWrapperTest extends TestCase { * @dataProvider provideWrapStorage */ public function testWrapStorage($expectedWrapped, $wrappedStorages): void { - $storage = $this->getMockBuilder(Storage::class) + $storage = $this->getMockBuilder(IStorage::class) ->disableOriginalConstructor() ->getMock(); |