Skip to content

Commit e0a36ce

Browse files
committed
test: add test cases
1 parent 940c794 commit e0a36ce

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

tests/system/Helpers/URLHelper/SiteUrlTest.php

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,33 @@ public function configProvider()
139139
'http://example.com/abc',
140140
'http://example.com/abc',
141141
],
142+
[
143+
'http://example.com/',
144+
'',
145+
null,
146+
false,
147+
'/abc',
148+
'http://example.com/abc',
149+
'http://example.com/abc',
150+
],
151+
[
152+
'http://example.com/',
153+
'',
154+
null,
155+
false,
156+
'/abc/',
157+
'http://example.com/abc/',
158+
'http://example.com/abc/',
159+
],
160+
[
161+
'http://example.com/',
162+
'',
163+
null,
164+
false,
165+
'/abc/def',
166+
'http://example.com/abc/def',
167+
'http://example.com/abc/def',
168+
],
142169
'URL decode' => [
143170
'http://example.com/',
144171
'',

0 commit comments

Comments
 (0)