Fix tests

This commit is contained in:
Robin Chalas 2017-04-29 19:37:59 +02:00
parent 8872833c5d
commit b6948ddb34
3 changed files with 3 additions and 2 deletions

View File

@ -29,7 +29,7 @@
"symfony/css-selector": "~2.8|~3.0",
"symfony/dom-crawler": "~2.8|~3.0",
"symfony/form": "^2.8.18|^3.2.5",
"symfony/framework-bundle": "^3.2.5",
"symfony/framework-bundle": "^3.2.8",
"symfony/http-foundation": "~2.8|~3.0",
"symfony/security-acl": "~2.8|~3.0",
"symfony/translation": "~2.8|~3.0",

View File

@ -33,7 +33,7 @@
"symfony/routing": "~2.8|~3.0",
"symfony/templating": "~2.8|~3.0",
"symfony/yaml": "~2.8|~3.0",
"symfony/framework-bundle": "^3.2.2",
"symfony/framework-bundle": "^3.2.8",
"symfony/web-link": "~3.3",
"doctrine/annotations": "~1.0"
},

View File

@ -112,6 +112,7 @@ class UsernamePasswordJsonAuthenticationListenerTest extends TestCase
{
$this->createListener();
$request = new Request();
$request->setRequestFormat('json');
$event = new GetResponseEvent($this->getMockBuilder(KernelInterface::class)->getMock(), $request, KernelInterface::MASTER_REQUEST);
$this->listener->handle($event);