From 4e544b945010b405f2e9df3f7b8688d6a0e1f388 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Thu, 25 Dec 2014 10:39:34 +0100 Subject: [PATCH] [Security/Http] fix mock logger in test --- .../Tests/Firewall/SimplePreAuthenticationListenerTest.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Symfony/Component/Security/Http/Tests/Firewall/SimplePreAuthenticationListenerTest.php b/src/Symfony/Component/Security/Http/Tests/Firewall/SimplePreAuthenticationListenerTest.php index b4a4a341fa..8567728c0b 100644 --- a/src/Symfony/Component/Security/Http/Tests/Firewall/SimplePreAuthenticationListenerTest.php +++ b/src/Symfony/Component/Security/Http/Tests/Firewall/SimplePreAuthenticationListenerTest.php @@ -110,10 +110,7 @@ class SimplePreAuthenticationListenerTest extends \PHPUnit_Framework_TestCase ->will($this->returnValue($this->request)) ; - $this->logger = $this->getMockBuilder('Symfony\Bridge\Monolog\Logger') - ->disableOriginalConstructor() - ->getMock() - ; + $this->logger = $this->getMock('Psr\Log\LoggerInterface'); $this->securityContext = $this->getMockBuilder('Symfony\Component\Security\Core\SecurityContext') ->disableOriginalConstructor()