diff options
author | Côme Chilliet <91878298+come-nc@users.noreply.github.com> | 2022-03-29 10:39:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-29 10:39:38 +0300 |
commit | 765999f454c0c5ebd8f2aa693d123f62d104d37a (patch) | |
tree | ee986c4dcb0edac3babb7ee87e5afc159087e2e0 /tests/lib/Encryption/EncryptionWrapperTest.php | |
parent | 4a4f250a2b733f915e8b465bc995ea8ac18a8fbc (diff) | |
parent | 6d354595f71f15f3d15bce70683b4bc013a6bfaf (diff) |
Merge pull request #31609 from nextcloud/fix/migrate-away-from-ilogger
Migrate from ILogger to LoggerInterface in lib/private
Diffstat (limited to 'tests/lib/Encryption/EncryptionWrapperTest.php')
-rw-r--r-- | tests/lib/Encryption/EncryptionWrapperTest.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/lib/Encryption/EncryptionWrapperTest.php b/tests/lib/Encryption/EncryptionWrapperTest.php index 20bcb6e7ca1..5d707ca6ec6 100644 --- a/tests/lib/Encryption/EncryptionWrapperTest.php +++ b/tests/lib/Encryption/EncryptionWrapperTest.php @@ -25,7 +25,7 @@ use OC\Encryption\EncryptionWrapper; use OC\Encryption\Manager; use OC\Memcache\ArrayCache; use OCP\Files\Storage; -use OCP\ILogger; +use Psr\Log\LoggerInterface; use Test\TestCase; class EncryptionWrapperTest extends TestCase { @@ -33,7 +33,7 @@ class EncryptionWrapperTest extends TestCase { /** @var EncryptionWrapper */ private $instance; - /** @var \PHPUnit\Framework\MockObject\MockObject | \OCP\ILogger */ + /** @var \PHPUnit\Framework\MockObject\MockObject | LoggerInterface */ private $logger; /** @var \PHPUnit\Framework\MockObject\MockObject | \OC\Encryption\Manager */ @@ -47,8 +47,7 @@ class EncryptionWrapperTest extends TestCase { $this->arrayCache = $this->createMock(ArrayCache::class); $this->manager = $this->createMock(Manager::class); - $this->logger = $this->createMock(ILogger::class); - $this->logger = $this->createMock(ILogger::class); + $this->logger = $this->createMock(LoggerInterface::class); $this->instance = new EncryptionWrapper($this->arrayCache, $this->manager, $this->logger); } |