aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/CapabilitiesManagerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/CapabilitiesManagerTest.php')
-rw-r--r--tests/lib/CapabilitiesManagerTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/lib/CapabilitiesManagerTest.php b/tests/lib/CapabilitiesManagerTest.php
index 536355f9697..4909272c4a8 100644
--- a/tests/lib/CapabilitiesManagerTest.php
+++ b/tests/lib/CapabilitiesManagerTest.php
@@ -25,19 +25,19 @@ use OC\CapabilitiesManager;
use OCP\AppFramework\QueryException;
use OCP\Capabilities\ICapability;
use OCP\Capabilities\IPublicCapability;
-use OCP\ILogger;
+use Psr\Log\LoggerInterface;
class CapabilitiesManagerTest extends TestCase {
/** @var CapabilitiesManager */
private $manager;
- /** @var ILogger */
+ /** @var LoggerInterface */
private $logger;
protected function setUp(): void {
parent::setUp();
- $this->logger = $this->getMockBuilder(ILogger::class)->getMock();
+ $this->logger = $this->getMockBuilder(LoggerInterface::class)->getMock();
$this->manager = new CapabilitiesManager($this->logger);
}
@@ -139,7 +139,7 @@ class CapabilitiesManagerTest extends TestCase {
]
]
];
-
+
$this->assertEquals($expected, $res);
}