Skip to content

Commit 241c469

Browse files
committed
Fix test on Windows
1 parent 7e721bf commit 241c469

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/spec/PathTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ public function testPathParametersAreArrays()
222222
$this->assertInstanceOf(\cebe\openapi\spec\Parameter::class, $userIdPath->parameters[1]);
223223
$this->assertEquals('id', $userIdPath->parameters[2]->name);
224224
$dirSep = DIRECTORY_SEPARATOR;
225-
shell_exec(dirname(__DIR__, 2) . "{$dirSep}bin{$dirSep}php-openapi inline " . $file . ' ' . dirname(__DIR__) . $dirSep.'/compiled.yml');
225+
shell_exec('php '.dirname(__DIR__, 2) . "{$dirSep}bin{$dirSep}php-openapi inline " . $file . ' ' . dirname(__DIR__) . $dirSep.'/compiled.yml');
226226

227227
$expected = "{$dirSep}data{$dirSep}issue{$dirSep}155/compiled-symfony-7.yml";
228228
$version = static::symfonyYamlVersion();

0 commit comments

Comments
 (0)