File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -221,7 +221,8 @@ 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- 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 ' );
224+ shell_exec (dirname (__DIR__ , 2 ) . '/bin/php-openapi inline ' . $ file . ' ' . dirname (__DIR__ ) . '/compiled.yml ' );
225+ $ this ->assertFileEquals (dirname (__DIR__ ) . '/compiled.yml ' , dirname (__DIR__ ) . '/data/issue/155/compiled.yml ' );
226+ unlink (dirname (__DIR__ ) . '/compiled.yml ' );
226227 }
227228}
You can’t perform that action at this time.
0 commit comments