We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d6e956 commit 4f8617fCopy full SHA for 4f8617f
Tests/EventListener/MimeTypeListenerTest.php
@@ -31,7 +31,7 @@ public function testOnKernelRequest()
31
->with('jsonp', array('application/javascript+jsonp'), true)
32
->will($this->returnValue(null));
33
34
- $listener = new MimeTypeListener(array('jsonp' => array('application/javascript+jsonp')), $formatNegotiator);
+ $listener = new MimeTypeListener(array('enabled' => true, 'formats' => array('jsonp' => array('application/javascript+jsonp'))), $formatNegotiator);
35
36
$request = new Request();
37
$event = $this->getMockBuilder('Symfony\Component\HttpKernel\Event\GetResponseEvent')
0 commit comments