Skip to content

Commit fa10bc8

Browse files
committed
test: add test cases
1 parent a4c186d commit fa10bc8

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

tests/system/HTTP/SiteURITest.php

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,42 @@ public function provideURIs()
127127
['one', 'two'],
128128
2,
129129
],
130+
'//one/two' => [
131+
'http://example.com/',
132+
'index.php',
133+
'//one/two',
134+
'http://example.com/index.php/one/two',
135+
'one/two',
136+
'/index.php/one/two',
137+
'',
138+
'',
139+
['one', 'two'],
140+
2,
141+
],
142+
'one/two//' => [
143+
'http://example.com/',
144+
'index.php',
145+
'one/two//',
146+
'http://example.com/index.php/one/two/',
147+
'one/two/',
148+
'/index.php/one/two/',
149+
'',
150+
'',
151+
['one', 'two'],
152+
2,
153+
],
154+
'///one///two///' => [
155+
'http://example.com/',
156+
'index.php',
157+
'///one///two///',
158+
'http://example.com/index.php/one/two/',
159+
'one/two/',
160+
'/index.php/one/two/',
161+
'',
162+
'',
163+
['one', 'two'],
164+
2,
165+
],
130166
'Subfolder: ' => [
131167
'http://example.com/ci4/',
132168
'index.php',

0 commit comments

Comments
 (0)