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.
2 parents 7d0e831 + 9b512ea commit c2f13dcCopy full SHA for c2f13dc
tests/EventListener/AddFormatListenerTest.php
@@ -32,10 +32,10 @@ public function testNoResourceClass()
32
$eventProphecy->getRequest()->willReturn($request)->shouldBeCalled();
33
$event = $eventProphecy->reveal();
34
35
- $listener = new AddFormatListener(new Negotiator(), ['jsonld' => 'application/ld+json']);
+ $listener = new AddFormatListener(new Negotiator(), ['notexist' => 'application/vnd.notexist']);
36
$listener->onKernelRequest($event);
37
38
- $this->assertNull($request->getFormat('application/ld+json'));
+ $this->assertNull($request->getFormat('application/vnd.notexist'));
39
}
40
41
public function testSupportedRequestFormat()
0 commit comments