aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/AppFramework/Middleware
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2021-04-27 15:38:12 +0200
committerGitHub <noreply@github.com>2021-04-27 15:38:12 +0200
commit99f0b104216618625114d6dc314598dc294f080d (patch)
tree5f788797751a39248cdf07a3803898ccbdb9c22c /tests/lib/AppFramework/Middleware
parent48c50277a92b3b37fb4a9a9e7e20a487649b99db (diff)
parent2d75868935c7eedc5f94e63a45a27875e19053dc (diff)
downloadnextcloud-server-99f0b104216618625114d6dc314598dc294f080d.tar.gz
nextcloud-server-99f0b104216618625114d6dc314598dc294f080d.zip
Merge pull request #26591 from nextcloud/techdebt/noid/less-ilogger
Less ILogger
Diffstat (limited to 'tests/lib/AppFramework/Middleware')
-rw-r--r--tests/lib/AppFramework/Middleware/Security/SecurityMiddlewareTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/AppFramework/Middleware/Security/SecurityMiddlewareTest.php b/tests/lib/AppFramework/Middleware/Security/SecurityMiddlewareTest.php
index a3c9efa557c..076f6588d94 100644
--- a/tests/lib/AppFramework/Middleware/Security/SecurityMiddlewareTest.php
+++ b/tests/lib/AppFramework/Middleware/Security/SecurityMiddlewareTest.php
@@ -39,11 +39,11 @@ use OCP\AppFramework\Http\RedirectResponse;
use OCP\AppFramework\Http\TemplateResponse;
use OCP\IConfig;
use OCP\IL10N;
-use OCP\ILogger;
use OCP\INavigationManager;
use OCP\IRequest;
use OCP\IURLGenerator;
use OCP\Security\ISecureRandom;
+use Psr\Log\LoggerInterface;
class SecurityMiddlewareTest extends \Test\TestCase {
@@ -59,7 +59,7 @@ class SecurityMiddlewareTest extends \Test\TestCase {
private $request;
/** @var ControllerMethodReflector */
private $reader;
- /** @var ILogger|\PHPUnit\Framework\MockObject\MockObject */
+ /** @var LoggerInterface|\PHPUnit\Framework\MockObject\MockObject */
private $logger;
/** @var INavigationManager|\PHPUnit\Framework\MockObject\MockObject */
private $navigationManager;
@@ -75,7 +75,7 @@ class SecurityMiddlewareTest extends \Test\TestCase {
$this->controller = $this->createMock(Controller::class);
$this->reader = new ControllerMethodReflector();
- $this->logger = $this->createMock(ILogger::class);
+ $this->logger = $this->createMock(LoggerInterface::class);
$this->navigationManager = $this->createMock(INavigationManager::class);
$this->urlGenerator = $this->createMock(IURLGenerator::class);
$this->request = $this->createMock(IRequest::class);