Skip to content

Commit ec85b59

Browse files
committed
Fix phpunit 6
1 parent cfa0af5 commit ec85b59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/CorsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public function it_returns_allow_headers_header_on_allow_all_headers_request_cre
105105

106106
$this->assertEquals(204, $response->getStatusCode());
107107
$this->assertEquals('Foo, BAR', $response->headers->get('Access-Control-Allow-Headers'));
108-
$this->assertStringContainsString('Access-Control-Request-Headers', $response->headers->get('Vary'));
108+
$this->assertEquals('Access-Control-Request-Headers, Access-Control-Request-Method', $response->headers->get('Vary'));
109109
}
110110

111111
/**

0 commit comments

Comments
 (0)