Skip to content

Commit

Permalink
minor #1221 CI: Fix deprecations from ApiPlatform 3.2 & PHPUnit 10 (c…
Browse files Browse the repository at this point in the history
…halasr)

This PR was merged into the 3.x branch.

Discussion
----------

CI: Fix deprecations from ApiPlatform 3.2 & PHPUnit 10

Commits
-------

f9b765b CI: Fix deprecations from ApiPlatform 3.2 & PHPUnit 10
  • Loading branch information
chalasr committed May 1, 2024
2 parents e84c4ed + f9b765b commit 2dd83e8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions Tests/Functional/AppKernel.php
Expand Up @@ -104,6 +104,11 @@ public function registerContainerConfiguration(LoaderInterface $loader): void
'title' => 'LexikJWTAuthenticationBundle',
'description' => 'API Platform integration in LexikJWTAuthenticationBundle',
'version' => '1.0.0',
'keep_legacy_inflector' => false,
'formats' => [
'jsonld' => ['application/ld+json'],
'json' => ['application/json']
]
]);
$container->prependExtensionConfig('lexik_jwt_authentication', [
'api_platform' => [
Expand Down
Expand Up @@ -127,7 +127,8 @@ public function testCheckOpenApiExportCommand()
}
},
"security": [],
"tags": []
"tags": [],
"webhooks": {}
}
JSON
, $tester->getDisplay());
Expand Down
Expand Up @@ -66,7 +66,7 @@ public function testShouldNotAddPayloadIfItHasExpired()
]
)
);
self::assertCount(0, $cacheAdapter->getItems());
self::assertCount(0, iterator_to_array($cacheAdapter->getItems()));
}

public function testShouldBlockTokenIfPaylaodHasNotExpired()
Expand Down

0 comments on commit 2dd83e8

Please sign in to comment.