We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c911987 commit 98b3ef3Copy full SHA for 98b3ef3
tests/spec/OpenApiTest.php
@@ -222,7 +222,7 @@ public function testSpecs($openApiFile)
222
223
// security
224
$openapi->security !== null && $this->assertInstanceOf(\cebe\openapi\spec\SecurityRequirements::class, $openapi->security);
225
- $this->assertAllInstanceOf(\cebe\openapi\spec\SecurityRequirement::class, $openapi->security->getRequirements());
+ $openapi->security !== null && $this->assertAllInstanceOf(\cebe\openapi\spec\SecurityRequirement::class, $openapi->security->getRequirements());
226
227
// tags
228
$this->assertAllInstanceOf(\cebe\openapi\spec\Tag::class, $openapi->tags);
0 commit comments