diff options
Diffstat (limited to 'tests/lib/Route/RouterTest.php')
-rw-r--r-- | tests/lib/Route/RouterTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/Route/RouterTest.php b/tests/lib/Route/RouterTest.php index 4fcd9d65cd1..1f03f4edecb 100644 --- a/tests/lib/Route/RouterTest.php +++ b/tests/lib/Route/RouterTest.php @@ -24,7 +24,7 @@ declare(strict_types=1); namespace Test\Route; use OC\Route\Router; -use OCP\ILogger; +use Psr\Log\LoggerInterface; use Test\TestCase; /** @@ -34,8 +34,8 @@ use Test\TestCase; */ class RouterTest extends TestCase { public function testGenerateConsecutively(): void { - /** @var ILogger $logger */ - $logger = $this->createMock(ILogger::class); + /** @var LoggerInterface $logger */ + $logger = $this->createMock(LoggerInterface::class); $router = new Router($logger); $this->assertEquals('/index.php/apps/files/', $router->generate('files.view.index')); |