diff options
author | Nicolas Grekas <nicolas.grekas@gmail.com> | 2014-12-25 10:39:34 +0100 |
---|---|---|
committer | Nicolas Grekas <nicolas.grekas@gmail.com> | 2014-12-25 10:39:34 +0100 |
commit | 745d367adbcaaa5d4a04d28311640b881546c05a (patch) | |
tree | 1838520f648680a1fae226bcfcab29cb1a695ac7 /Http/Tests/Firewall | |
parent | 79e6ddaa570c264ade4e6d19e84f9b98d22b5acc (diff) | |
download | symfony-security-745d367adbcaaa5d4a04d28311640b881546c05a.zip symfony-security-745d367adbcaaa5d4a04d28311640b881546c05a.tar.gz symfony-security-745d367adbcaaa5d4a04d28311640b881546c05a.tar.bz2 |
[Security/Http] fix mock logger in test
Diffstat (limited to 'Http/Tests/Firewall')
-rw-r--r-- | Http/Tests/Firewall/SimplePreAuthenticationListenerTest.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Http/Tests/Firewall/SimplePreAuthenticationListenerTest.php b/Http/Tests/Firewall/SimplePreAuthenticationListenerTest.php index b4a4a34..8567728 100644 --- a/Http/Tests/Firewall/SimplePreAuthenticationListenerTest.php +++ b/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() |