Skip to content

Commit 7503d70

Browse files
committed
test: fix incorrect tests
1 parent 636b38c commit 7503d70

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/system/HTTP/IncomingRequestDetectingTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ public function testPathRequestURISuppressed()
128128

129129
public function testPathQueryString()
130130
{
131-
// /?/ci/index.php/woot
132-
$_SERVER['REQUEST_URI'] = '/?/ci/woot';
131+
// /index.php?/ci/woot
132+
$_SERVER['REQUEST_URI'] = '/index.php?/ci/woot';
133133
$_SERVER['QUERY_STRING'] = '/ci/woot';
134134
$_SERVER['SCRIPT_NAME'] = '/index.php';
135135

@@ -139,8 +139,8 @@ public function testPathQueryString()
139139

140140
public function testPathQueryStringEmpty()
141141
{
142-
// /?/ci/index.php/woot
143-
$_SERVER['REQUEST_URI'] = '/?/ci/woot';
142+
// /index.php?
143+
$_SERVER['REQUEST_URI'] = '/index.php?';
144144
$_SERVER['QUERY_STRING'] = '';
145145
$_SERVER['SCRIPT_NAME'] = '/index.php';
146146

0 commit comments

Comments
 (0)