2 GH-1216: PHPUnit bootstrap must take globals vars even when the file is specified in command line
6 $_SERVER['argv'][1] = '--configuration';
7 $_SERVER['argv'][2] = dirname(__FILE__) . '/1216/phpunit1216.xml';
8 $_SERVER['argv'][3] = '--debug';
9 $_SERVER['argv'][4] = '--bootstrap';
10 $_SERVER['argv'][5] = dirname(__FILE__) . '/1216/bootstrap1216.php';
11 $_SERVER['argv'][6] = dirname(__FILE__) . '/1216/Issue1216Test.php';
13 require __DIR__ . '/../../bootstrap.php';
14 PHPUnit_TextUI_Command::main();
17 PHPUnit %s by Sebastian Bergmann and contributors.
20 Starting test 'Issue1216Test::testConfigAvailableInBootstrap'.
25 OK (1 test, 1 assertion)