summaryrefslogtreecommitdiffstats
path: root/Tests/Http
diff options
context:
space:
mode:
authorKris Wallsmith <kris.wallsmith@gmail.com>2013-08-08 14:41:21 -0700
committerKris Wallsmith <kris.wallsmith@gmail.com>2013-08-08 14:41:21 -0700
commita19068947dca7cb60616b838a0d451ca61e40fe5 (patch)
tree50a598889fcf70bbfc9d7605a9eeba468f5a413c /Tests/Http
parentd362b9c7c6deb166a12e678d6934b02f9cb5a48d (diff)
downloadsymfony-security-a19068947dca7cb60616b838a0d451ca61e40fe5.zip
symfony-security-a19068947dca7cb60616b838a0d451ca61e40fe5.tar.gz
symfony-security-a19068947dca7cb60616b838a0d451ca61e40fe5.tar.bz2
[HttpKernel] added $event->isMasterRequest()
Diffstat (limited to 'Tests/Http')
-rw-r--r--Tests/Http/Firewall/ContextListenerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/Http/Firewall/ContextListenerTest.php b/Tests/Http/Firewall/ContextListenerTest.php
index 336c333..adef1bd 100644
--- a/Tests/Http/Firewall/ContextListenerTest.php
+++ b/Tests/Http/Firewall/ContextListenerTest.php
@@ -201,8 +201,8 @@ class ContextListenerTest extends \PHPUnit_Framework_TestCase
$listener = new ContextListener($context, array(), 'key123', null, $dispatcher);
$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($this->getMock('Symfony\Component\HttpFoundation\Request')));