Current File : /home/itiffy/www/vendor/phpunit/phpunit/tests/Regression/GitHub/2448-existing-test.phpt |
--TEST--
#2448: Weird error when trying to run `Test` from `Test.php` but `Test.php` does not exist
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = 'Test';
chdir(__DIR__.'/2448');
require __DIR__ . '/../../bootstrap.php';
PHPUnit\TextUI\Command::main();
?>
--EXPECTF--
PHPUnit %s by Sebastian Bergmann and contributors.
. 1 / 1 (100%)
Time: %s, Memory: %s
OK (1 test, 1 assertion)