[HttpKernel] fixed a test
This commit is contained in:
parent
6dd342c351
commit
b6e4fd0393
@ -119,7 +119,7 @@ class RouterListenerTest extends \PHPUnit_Framework_TestCase
|
||||
->method('getContext')
|
||||
->will($this->returnValue($context));
|
||||
|
||||
$listener = new RouterListener($requestMatcher);
|
||||
$listener = new RouterListener($requestMatcher, new RequestContext());
|
||||
$listener->onKernelRequest($event);
|
||||
|
||||
// sub-request with another HTTP method
|
||||
|
Reference in New Issue
Block a user