PHP Classes

File: Library/vendor/phpunit/phpunit/tests/Regression/GitHub/1216.phpt

Recommend this page to a friend!
  Classes of Duong Huynh Nghia   Lego PHP   Library/vendor/phpunit/phpunit/tests/Regression/GitHub/1216.phpt   Download  
File: Library/vendor/phpunit/phpunit/tests/Regression/GitHub/1216.phpt
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Lego PHP
Blog and shopping cart system
Author: By
Last change:
Date: 7 years ago
Size: 744 bytes
 

Contents

Class file image Download
--TEST-- GH-1216: PHPUnit bootstrap must take globals vars even when the file is specified in command line --FILE-- <?php $_SERVER['argv'][1] = '--configuration'; $_SERVER['argv'][2] = __DIR__ . '/1216/phpunit1216.xml'; $_SERVER['argv'][3] = '--debug'; $_SERVER['argv'][4] = '--bootstrap'; $_SERVER['argv'][5] = __DIR__ . '/1216/bootstrap1216.php'; $_SERVER['argv'][6] = __DIR__ . '/1216/Issue1216Test.php'; require __DIR__ . '/../../bootstrap.php'; PHPUnit_TextUI_Command::main(); ?> --EXPECTF-- PHPUnit %s by Sebastian Bergmann and contributors. Starting test 'Issue1216Test::testConfigAvailableInBootstrap'. . 1 / 1 (100%) Time: %s, Memory: %s OK (1 test, 1 assertion)