Skip to content

Commit f0a27b7

Browse files
committed
Add more assertions
1 parent 9dfa3e8 commit f0a27b7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
File renamed without changes.

tests/spec/PathTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ public function testPathParametersAreArrays()
221221
$this->assertInstanceOf(\cebe\openapi\spec\Parameter::class, $userIdPath->parameters[0]);
222222
$this->assertInstanceOf(\cebe\openapi\spec\Parameter::class, $userIdPath->parameters[1]);
223223
$this->assertEquals('id', $userIdPath->parameters[2]->name);
224-
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');
225226
}
226227
}

0 commit comments

Comments
 (0)