Skip to content

Commit aaef6a9

Browse files
committed
Fix tests
1 parent 3605e6d commit aaef6a9

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

src/Bridge/Symfony/Bundle/Action/SwaggerUiAction.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ final class SwaggerUiAction
6464
private $assetPackage;
6565

6666
/**
67-
* @param int[] $swaggerVersions
67+
* @param int[] $swaggerVersions
68+
* @param mixed|null $assetPackage
6869
*/
6970
public function __construct(ResourceNameCollectionFactoryInterface $resourceNameCollectionFactory, ResourceMetadataFactoryInterface $resourceMetadataFactory, NormalizerInterface $normalizer, TwigEnvironment $twig, UrlGeneratorInterface $urlGenerator, string $title = '', string $description = '', string $version = '', $formats = [], $oauthEnabled = false, $oauthClientId = '', $oauthClientSecret = '', $oauthType = '', $oauthFlow = '', $oauthTokenUrl = '', $oauthAuthorizationUrl = '', $oauthScopes = [], bool $showWebby = true, bool $swaggerUiEnabled = false, bool $reDocEnabled = false, bool $graphqlEnabled = false, bool $graphiQlEnabled = false, bool $graphQlPlaygroundEnabled = false, array $swaggerVersions = [2, 3], OpenApiSwaggerUiAction $swaggerUiAction = null, $assetPackage = null)
7071
{

tests/Bridge/Symfony/Bundle/Action/SwaggerUiActionTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ public function getInvokeParameters()
8585
'graphqlEnabled' => false,
8686
'graphiQlEnabled' => false,
8787
'graphQlPlaygroundEnabled' => false,
88+
'assetPackage' => null,
8889
'swagger_data' => [
8990
'url' => '/url',
9091
'spec' => self::SPEC,
@@ -118,6 +119,7 @@ public function getInvokeParameters()
118119
'graphqlEnabled' => false,
119120
'graphiQlEnabled' => false,
120121
'graphQlPlaygroundEnabled' => false,
122+
'assetPackage' => null,
121123
'swagger_data' => [
122124
'url' => '/url',
123125
'spec' => self::SPEC,

tests/Bridge/Symfony/Bundle/SwaggerUi/SwaggerUiActionTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ public function getInvokeParameters()
8585
'graphqlEnabled' => false,
8686
'graphiQlEnabled' => false,
8787
'graphQlPlaygroundEnabled' => false,
88+
'assetPackage' => null,
8889
'swagger_data' => [
8990
'url' => '/url',
9091
'spec' => self::SPEC,
@@ -118,6 +119,7 @@ public function getInvokeParameters()
118119
'graphqlEnabled' => false,
119120
'graphiQlEnabled' => false,
120121
'graphQlPlaygroundEnabled' => false,
122+
'assetPackage' => null,
121123
'swagger_data' => [
122124
'url' => '/url',
123125
'spec' => self::SPEC,

0 commit comments

Comments
 (0)