[Security/Http] fix mock logger in test

This commit is contained in:
Nicolas Grekas 2014-12-25 10:39:34 +01:00
parent 1922f55259
commit 4e544b9450

View File

@ -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()