Skip to content

Commit 7965dc6

Browse files
committed
Fix overwriting an array element
1 parent b0e234d commit 7965dc6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Tests/RequestTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,6 @@ public function testGetUri()
604604

605605
$server['REDIRECT_QUERY_STRING'] = 'query=string';
606606
$server['REDIRECT_URL'] = '/path/info';
607-
$server['SCRIPT_NAME'] = '/index.php';
608607
$server['QUERY_STRING'] = 'query=string';
609608
$server['REQUEST_URI'] = '/path/info?toto=test&1=1';
610609
$server['SCRIPT_NAME'] = '/index.php';
@@ -731,7 +730,6 @@ public function testGetUriForPath()
731730

732731
$server['REDIRECT_QUERY_STRING'] = 'query=string';
733732
$server['REDIRECT_URL'] = '/path/info';
734-
$server['SCRIPT_NAME'] = '/index.php';
735733
$server['QUERY_STRING'] = 'query=string';
736734
$server['REQUEST_URI'] = '/path/info?toto=test&1=1';
737735
$server['SCRIPT_NAME'] = '/index.php';

0 commit comments

Comments
 (0)