%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/management/vendor/phpunit/phpunit/tests/TextUI/
Upload File :
Create Path :
Current File : /var/www/html/management/vendor/phpunit/phpunit/tests/TextUI/order-by-default-invalid-via-cli.phpt

--TEST--
phpunit --order-by=default,foobar
--FILE--
<?php
$tmpResultCache = tempnam(sys_get_temp_dir(), __FILE__);
file_put_contents($tmpResultCache, file_get_contents(__DIR__ . '/../_files/MultiDependencyTest_result_cache.txt'));

$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--debug';
$_SERVER['argv'][3] = '--order-by=default,foobar';

require __DIR__ . '/../bootstrap.php';
PHPUnit\TextUI\Command::main();

unlink($tmpResultCache);
--EXPECTF--
PHPUnit %s by Sebastian Bergmann and contributors.

unrecognized --order-by option: foobar

Zerion Mini Shell 1.0