Skip to content

Commit 98b3ef3

Browse files
committed
Fix failing tests 3
1 parent c911987 commit 98b3ef3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/spec/OpenApiTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ public function testSpecs($openApiFile)
222222

223223
// security
224224
$openapi->security !== null && $this->assertInstanceOf(\cebe\openapi\spec\SecurityRequirements::class, $openapi->security);
225-
$this->assertAllInstanceOf(\cebe\openapi\spec\SecurityRequirement::class, $openapi->security->getRequirements());
225+
$openapi->security !== null && $this->assertAllInstanceOf(\cebe\openapi\spec\SecurityRequirement::class, $openapi->security->getRequirements());
226226

227227
// tags
228228
$this->assertAllInstanceOf(\cebe\openapi\spec\Tag::class, $openapi->tags);

0 commit comments

Comments
 (0)