mirror of
https://github.com/friendica/friendica
synced 2025-04-23 23:10:10 +00:00
Use rawContent for Special Options to avoid a protected options() method
This commit is contained in:
parent
35a2fd45af
commit
6dbbd08179
4 changed files with 3 additions and 23 deletions
|
@ -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'));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue