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 9dfa3e8 commit f0a27b7Copy full SHA for f0a27b7
compiled.yml renamed to tests/data/issue/155/compiled.yml
tests/spec/PathTest.php
@@ -221,6 +221,7 @@ public function testPathParametersAreArrays()
221
$this->assertInstanceOf(\cebe\openapi\spec\Parameter::class, $userIdPath->parameters[0]);
222
$this->assertInstanceOf(\cebe\openapi\spec\Parameter::class, $userIdPath->parameters[1]);
223
$this->assertEquals('id', $userIdPath->parameters[2]->name);
224
-
+ shell_exec(dirname(__DIR__, 2) . '/bin/php-openapi inline ' . $file . ' ' . dirname(__DIR__) . '/tmp/compiled.yml');
225
+ $this->assertFileEquals(dirname(__DIR__) . '/tmp/compiled.yml', dirname(__DIR__) . '/data/issue/155/compiled.yml');
226
}
227
0 commit comments