PHP Classes

File: bin/.phpunit/phpunit-7.5-0/tests/end-to-end/regression/GitHub/1216.phpt

Recommend this page to a friend!
  Classes of Paulo Henrique  >  symfony-dual-login  >  bin/.phpunit/phpunit-7.5-0/tests/end-to-end/regression/GitHub/1216.phpt  >  Download  
File: bin/.phpunit/phpunit-7.5-0/tests/end-to-end/regression/GitHub/1216.phpt
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: symfony-dual-login
API to get user details using OAuth authentication
Author: By
Last change:
Date: 1 year ago
Size: 723 bytes


Class file image Download
GH-1216: PHPUnit bootstrap must take globals vars even when the file is specified in command line

$_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 %s by Sebastian Bergmann and contributors.

Test 'Issue1216Test::testConfigAvailableInBootstrap' started
Test 'Issue1216Test::testConfigAvailableInBootstrap' ended

Time: %s, Memory: %s

OK (1 test, 1 assertion)
For more information send a message to info at phpclasses dot org.