summaryrefslogtreecommitdiffstats
path: root/Http/Tests/FirewallTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'Http/Tests/FirewallTest.php')
-rw-r--r--Http/Tests/FirewallTest.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/Http/Tests/FirewallTest.php b/Http/Tests/FirewallTest.php
index 9994737..1e0c1ef 100644
--- a/Http/Tests/FirewallTest.php
+++ b/Http/Tests/FirewallTest.php
@@ -11,9 +11,10 @@
namespace Symfony\Component\Security\Http\Tests;
-use Symfony\Component\Security\Http\Firewall;
+use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\Event\GetResponseEvent;
use Symfony\Component\HttpKernel\HttpKernelInterface;
+use Symfony\Component\Security\Http\Firewall;
class FirewallTest extends \PHPUnit_Framework_TestCase
{
@@ -46,7 +47,7 @@ class FirewallTest extends \PHPUnit_Framework_TestCase
public function testOnKernelRequestStopsWhenThereIsAResponse()
{
- $response = $this->getMock('Symfony\Component\HttpFoundation\Response');
+ $response = new Response();
$first = $this->getMock('Symfony\Component\Security\Http\Firewall\ListenerInterface');
$first