summaryrefslogtreecommitdiffstats
path: root/Http/Tests/Firewall
diff options
context:
space:
mode:
authorNicolas Grekas <nicolas.grekas@gmail.com>2014-12-25 10:39:34 +0100
committerNicolas Grekas <nicolas.grekas@gmail.com>2014-12-25 10:39:34 +0100
commit745d367adbcaaa5d4a04d28311640b881546c05a (patch)
tree1838520f648680a1fae226bcfcab29cb1a695ac7 /Http/Tests/Firewall
parent79e6ddaa570c264ade4e6d19e84f9b98d22b5acc (diff)
downloadsymfony-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.php5
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()