Use rawContent for Special Options to avoid a protected options() method

This commit is contained in:
Philipp 2022-01-04 20:47:17 +01:00
parent 35a2fd45af
commit 6dbbd08179
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
4 changed files with 3 additions and 23 deletions

View file

@ -40,7 +40,6 @@ class OptionsTest extends FixtureTest
self::assertEquals([
'Allow' => [implode(',', [Router::GET, Router::POST])],
ICanCreateResponses::X_HEADER => ['blank'],
'Content-Type'
], $response->getHeaders());
self::assertEquals(implode(',', [Router::GET, Router::POST]), $response->getHeaderLine('Allow'));
}