Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Align assignments
Browse files Browse the repository at this point in the history
Internal consistency within test class.
  • Loading branch information
weierophinney committed Jan 8, 2019
1 parent 7149c5d commit ae717bf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/PhpEnvironment/RequestTest.php
Expand Up @@ -794,11 +794,11 @@ public function testDetectBaseUrlDoesNotRaiseErrorOnEmptyBaseUrl()

public function testDetectCorrectBaseUrlForConsoleRequests()
{
$_SERVER['argv'] = ['/home/user/package/vendor/bin/phpunit'];
$_SERVER['argc'] = 1;
$_SERVER['argv'] = ['/home/user/package/vendor/bin/phpunit'];
$_SERVER['argc'] = 1;
$_SERVER['SCRIPT_FILENAME'] = '/home/user/package/vendor/bin/phpunit';
$_SERVER['SCRIPT_NAME'] = '/home/user/package/vendor/bin/phpunit';
$_SERVER['PHP_SELF'] = '/home/user/package/vendor/bin/phpunit';
$_SERVER['SCRIPT_NAME'] = '/home/user/package/vendor/bin/phpunit';
$_SERVER['PHP_SELF'] = '/home/user/package/vendor/bin/phpunit';

$request = new Request();
$request->setRequestUri('/path/query/phpunit');
Expand Down

0 comments on commit ae717bf

Please sign in to comment.