mirror of
https://github.com/flarum/framework.git
synced 2025-01-20 05:32:49 +08:00
Add port on Url to BaseUrl Test (#2226)
Added Urls with ports to the BaseUrl Test
This commit is contained in:
parent
d189272473
commit
36eb5cc5fb
|
@ -60,6 +60,18 @@ class BaseUrlTest extends TestCase
|
|||
['http://flarum.org/flarum/index.php/', 'http://flarum.org/flarum'],
|
||||
['sub.flarum.org', 'http://sub.flarum.org'],
|
||||
['http://sub.flarum.org', 'http://sub.flarum.org'],
|
||||
['flarum.org:8000', 'http://flarum.org:8000'],
|
||||
['flarum.org:8000/', 'http://flarum.org:8000'],
|
||||
['http://flarum.org:8000', 'http://flarum.org:8000'],
|
||||
['http://flarum.org:8000/', 'http://flarum.org:8000'],
|
||||
['https://flarum.org:8000', 'https://flarum.org:8000'],
|
||||
['http://flarum.org:8000/index.php', 'http://flarum.org:8000'],
|
||||
['http://flarum.org:8000/index.php/', 'http://flarum.org:8000'],
|
||||
['http://flarum.org:8000/flarum', 'http://flarum.org:8000/flarum'],
|
||||
['http://flarum.org:8000/flarum/index.php', 'http://flarum.org:8000/flarum'],
|
||||
['http://flarum.org:8000/flarum/index.php/', 'http://flarum.org:8000/flarum'],
|
||||
['sub.flarum.org:8000', 'http://sub.flarum.org:8000'],
|
||||
['http://sub.flarum.org:8000', 'http://sub.flarum.org:8000'],
|
||||
];
|
||||
}
|
||||
|
||||
|
@ -78,6 +90,18 @@ class BaseUrlTest extends TestCase
|
|||
['http://flarum.org/flarum/index.php/', 'noreply@flarum.org'],
|
||||
['sub.flarum.org', 'noreply@sub.flarum.org'],
|
||||
['http://sub.flarum.org', 'noreply@sub.flarum.org'],
|
||||
['flarum.org:8000', 'noreply@flarum.org'],
|
||||
['flarum.org:8000/', 'noreply@flarum.org'],
|
||||
['http://flarum.org:8000', 'noreply@flarum.org'],
|
||||
['http://flarum.org:8000/', 'noreply@flarum.org'],
|
||||
['https://flarum.org:8000', 'noreply@flarum.org'],
|
||||
['http://flarum.org:8000/index.php', 'noreply@flarum.org'],
|
||||
['http://flarum.org:8000/index.php/', 'noreply@flarum.org'],
|
||||
['http://flarum.org:8000/flarum', 'noreply@flarum.org'],
|
||||
['http://flarum.org:8000/flarum/index.php', 'noreply@flarum.org'],
|
||||
['http://flarum.org:8000/flarum/index.php/', 'noreply@flarum.org'],
|
||||
['sub.flarum.org:8000', 'noreply@sub.flarum.org'],
|
||||
['http://sub.flarum.org:8000', 'noreply@sub.flarum.org'],
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user