Skip to content

Commit

Permalink
fix ol' swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
soyuka committed Mar 9, 2021
1 parent 14b8382 commit 57cd924
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/Swagger/Serializer/DocumentationNormalizerV2Test.php
Expand Up @@ -529,7 +529,7 @@ private function doTestNormalizeWithNameConverter(bool $legacy = false): void
'flow' => 'application',
'tokenUrl' => '/oauth/v2/token',
'authorizationUrl' => '/oauth/v2/auth',
'scopes' => ['scope param'],
'scopes' => new \ArrayObject(['scope param']),
],
],
'security' => [['oauth' => []]],
Expand Down
2 changes: 1 addition & 1 deletion tests/Swagger/Serializer/DocumentationNormalizerV3Test.php
Expand Up @@ -583,7 +583,7 @@ private function doTestNormalizeWithNameConverter(bool $legacy = false): void
'authorizationCode' => [
'tokenUrl' => '/oauth/v2/token',
'authorizationUrl' => '/oauth/v2/auth',
'scopes' => ['scope param'],
'scopes' => new \ArrayObject(['scope param']),
],
],
],
Expand Down

0 comments on commit 57cd924

Please sign in to comment.