Skip to content

Commit

Permalink
Merge pull request #5480 from ecamp/renovate/api-platform-core-3.x
Browse files Browse the repository at this point in the history
fix(deps): update dependency api-platform/core to v3.3.7
  • Loading branch information
BacLuc committed Jul 21, 2024
2 parents 279a398 + 36dfdb6 commit 2137a16
Show file tree
Hide file tree
Showing 4 changed files with 200 additions and 303 deletions.
2 changes: 1 addition & 1 deletion api/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"php": ">=8.1.0",
"ext-ctype": "*",
"ext-iconv": "*",
"api-platform/core": "3.3.6",
"api-platform/core": "3.3.7",
"composer/package-versions-deprecated": "1.11.99",
"cweagans/composer-patches": "1.7.3",
"doctrine/doctrine-bundle": "2.12.0",
Expand Down
14 changes: 7 additions & 7 deletions api/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 11 additions & 1 deletion api/tests/Api/RootTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,17 @@ class RootTest extends ECampApiTestCase {
* @throws ClientExceptionInterface
*/
public function testOptionsWhenNotLoggedIn() {
static::createBasicClient()->request('OPTIONS', '/');
static::createBasicClient()->request(
'OPTIONS',
'/',
[
'headers' => [
'Origin' => 'http://localhost:3000',
'Access-Control-Request-Method' => 'GET',
'Access-Control-Request-Headers' => 'Origin, Content-Type, Accept, Authorization',
],
]
);
$this->assertResponseStatusCodeSame(200);
}
}
Loading

0 comments on commit 2137a16

Please sign in to comment.