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 565c183 commit c1db324Copy full SHA for c1db324
tests/spec/OpenApiTest.php
@@ -221,7 +221,8 @@ public function testSpecs($openApiFile)
221
}
222
223
// security
224
- $this->assertAllInstanceOf(\cebe\openapi\spec\SecurityRequirement::class, $openapi->security);
+ $this->assertInstanceOf(\cebe\openapi\spec\SecurityRequirements::class, $openapi->security);
225
+ $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