Skip to content

Commit 98c1c32

Browse files
committed
prevent exceptions caused by missing formats
1 parent 1c8d9e0 commit 98c1c32

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Tests/Functional/ConfigurationTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@ public function testToolbar()
4040
'/_profiler/empty/search/results?limit=10',
4141
[],
4242
[],
43-
['HTTP_Accept' => 'application/json']
43+
['HTTP_Accept' => 'application/xml']
4444
);
4545

46+
$this->assertSame(200, $client->getResponse()->getStatusCode());
4647
$this->assertSame('text/html; charset=UTF-8', $client->getResponse()->headers->get('Content-Type'));
4748
}
4849
}

0 commit comments

Comments
 (0)