Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
Bump stack-cors v2.0.1 (#466)
Browse files Browse the repository at this point in the history
  • Loading branch information
barryvdh authored May 31, 2020
1 parent 7f2ac85 commit dbfc311
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"illuminate/contracts": "^5.6|^6.0|^7.0|^8.0",
"symfony/http-foundation": "^4.0|^5.0",
"symfony/http-kernel": "^4.0|^5.0",
"asm89/stack-cors": "^2"
"asm89/stack-cors": "^2.0.1"
},
"require-dev": {
"laravel/framework": "^5.5|^6.0|^7.0|^8.0",
Expand Down
2 changes: 1 addition & 1 deletion tests/GlobalMiddlewareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public function testAllowHeaderAllowedWildcardOptions()
'HTTP_ACCESS_CONTROL_REQUEST_METHOD' => 'POST',
'HTTP_ACCESS_CONTROL_REQUEST_HEADERS' => 'x-custom-3',
]);
$this->assertEquals('*', $crawler->headers->get('Access-Control-Allow-Headers'));
$this->assertEquals('x-custom-3', $crawler->headers->get('Access-Control-Allow-Headers'));
$this->assertEquals(204, $crawler->getStatusCode());

$this->assertEquals('', $crawler->getContent());
Expand Down

0 comments on commit dbfc311

Please sign in to comment.