diff options
author | Jakub Zalas <jakub@zalas.pl> | 2015-02-19 09:39:13 +0000 |
---|---|---|
committer | Jakub Zalas <jakub@zalas.pl> | 2015-02-19 09:39:13 +0000 |
commit | ef7b49e118ca2a22eae5348ccb79715d49c473f8 (patch) | |
tree | 0d6dc815782ed0791115063a6f590d16fe3c353e /Http/Tests/Firewall | |
parent | a8d995fac4ccf99e34db97ea252cc993382ac83e (diff) | |
download | symfony-security-ef7b49e118ca2a22eae5348ccb79715d49c473f8.zip symfony-security-ef7b49e118ca2a22eae5348ccb79715d49c473f8.tar.gz symfony-security-ef7b49e118ca2a22eae5348ccb79715d49c473f8.tar.bz2 |
[Security] Fix expectation in a test.
Diffstat (limited to 'Http/Tests/Firewall')
-rw-r--r-- | Http/Tests/Firewall/ContextListenerTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Http/Tests/Firewall/ContextListenerTest.php b/Http/Tests/Firewall/ContextListenerTest.php index b06eda9..00ec418 100644 --- a/Http/Tests/Firewall/ContextListenerTest.php +++ b/Http/Tests/Firewall/ContextListenerTest.php @@ -220,8 +220,8 @@ class ContextListenerTest extends \PHPUnit_Framework_TestCase ->will($this->returnValue(true)); $event->expects($this->any()) - ->method('getRequestType') - ->will($this->returnValue(HttpKernelInterface::MASTER_REQUEST)); + ->method('isMasterRequest') + ->will($this->returnValue(true)); $event->expects($this->any()) ->method('getRequest') ->will($this->returnValue($request)); |