Skip to content

Commit ef8b3d4

Browse files
committed
Fix bad UT call
1 parent b714654 commit ef8b3d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Functional/Endpoint/DocumentationEndpointTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,10 @@ public function testHttOptionsShouldReturnAllowedMethodsAndContentType()
100100
$this->assertSame('application/json', $response->headers->get('Content-Type'));
101101

102102
// Check allowed methods
103-
$this->assertSame($expectedAllowedMethodList, $response->headers->get('Allow', null, false));
103+
$this->assertSame($expectedAllowedMethodList, $response->headers->get('Allow', null));
104104
$this->assertSame(
105105
$expectedAllowedMethodList,
106-
$response->headers->get('Access-Control-Request-Method', null, false)
106+
$response->headers->get('Access-Control-Request-Method', null)
107107
);
108108

109109
// Check allowed content types

0 commit comments

Comments
 (0)