Skip to content

Commit

Permalink
prevent exceptions caused by missing formats
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Jan 31, 2020
1 parent ab78aeb commit 4cb4436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Functional/ConfigurationTest.php
Expand Up @@ -40,7 +40,7 @@ public function testToolbar()
'/_profiler/empty/search/results?limit=10',
[],
[],
['HTTP_Accept' => 'application/json']
['HTTP_Accept' => 'application/xml']
);

$this->assertSame('text/html; charset=UTF-8', $client->getResponse()->headers->get('Content-Type'));
Expand Down

0 comments on commit 4cb4436

Please sign in to comment.