[PhpUnitBridge] Fix tests on Windows

This commit is contained in:
Nicolas Grekas 2020-07-23 11:26:24 +02:00
parent 1b7714a05c
commit 266fe76208

View File

@ -2,8 +2,8 @@
Test ExpectDeprecationTrait failing tests
--FILE--
<?php
$test = realpath(__DIR__ . '/FailTests/ExpectDeprecationTraitTestFail.php');
passthru(getenv('SYMFONY_SIMPLE_PHPUNIT_BIN_DIR') . '/simple-phpunit --colors=never ' . $test);
$test = realpath(__DIR__.'/FailTests/ExpectDeprecationTraitTestFail.php');
passthru('php '.getenv('SYMFONY_SIMPLE_PHPUNIT_BIN_DIR').'/simple-phpunit.php --colors=never '.$test);
?>
--EXPECTF--
PHPUnit %s by Sebastian Bergmann and contributors.