Skip to content

Commit ca411e4

Browse files
committed
Fix another failing test
1 parent 18c2191 commit ca411e4

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
@@ -250,10 +250,10 @@ public function testInvalidTopLevelField()
250250
]);
251251
$this->assertFalse($openapi->validate());
252252
$this->assertEquals([
253+
'Invalid field: "AAAAAcomponents"',
253254
'OpenApi is missing required property: openapi',
254255
'OpenApi is missing required property: info',
255256
'OpenApi is missing required property: paths',
256-
'Invalid top level field: "AAAAAcomponents". More information can be obtained at https://spec.openapis.org/oas/v3.0.3.html#fixed-fields',
257257
], $openapi->getErrors());
258258

259259
// // check default value of servers

0 commit comments

Comments
 (0)