Skip to content

Commit 4f8617f

Browse files
author
Geoffrey Vincent
committed
Update test
1 parent 3d6e956 commit 4f8617f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/EventListener/MimeTypeListenerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function testOnKernelRequest()
3131
->with('jsonp', array('application/javascript+jsonp'), true)
3232
->will($this->returnValue(null));
3333

34-
$listener = new MimeTypeListener(array('jsonp' => array('application/javascript+jsonp')), $formatNegotiator);
34+
$listener = new MimeTypeListener(array('enabled' => true, 'formats' => array('jsonp' => array('application/javascript+jsonp'))), $formatNegotiator);
3535

3636
$request = new Request();
3737
$event = $this->getMockBuilder('Symfony\Component\HttpKernel\Event\GetResponseEvent')

0 commit comments

Comments
 (0)