Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2018-09-30 13:24:38 +0300
committerDaniel Kesselberg <mail@danielkesselberg.de>2018-09-30 13:24:38 +0300
commit9dae927b0c666f8db70732b0ac098b44ed913d92 (patch)
treebb690c2b6ff95abf8f4b60a49ec4ed94fc346d1d /tests/lib/SetupTest.php
parentc275beecebb96a914616e39ec61a22e4597358ec (diff)
Add more test cases
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'tests/lib/SetupTest.php')
-rw-r--r--tests/lib/SetupTest.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/lib/SetupTest.php b/tests/lib/SetupTest.php
index 68ef0b2913e..176a5b19f29 100644
--- a/tests/lib/SetupTest.php
+++ b/tests/lib/SetupTest.php
@@ -158,12 +158,15 @@ class SetupTest extends \Test\TestCase {
public function findWebRootProvider(): array {
return [
+ 'https://www.example.com/nextcloud/' => ['https://www.example.com/nextcloud/', '/nextcloud'],
'https://www.example.com/nextcloud' => ['https://www.example.com/nextcloud', '/nextcloud'],
'https://www.example.com/' => ['https://www.example.com/', ''],
'https://www.example.com' => ['https://www.example.com', ''],
- 'https://nctest13pgsql.lan/nextcloud' => ['https://nctest13pgsql.lan/', ''],
+ 'https://nctest13pgsql.lan/test123/' => ['https://nctest13pgsql.lan/test123/', '/test123'],
+ 'https://nctest13pgsql.lan/test123' => ['https://nctest13pgsql.lan/test123', '/test123'],
'https://nctest13pgsql.lan/' => ['https://nctest13pgsql.lan/', ''],
'https://nctest13pgsql.lan' => ['https://nctest13pgsql.lan', ''],
+ 'https://192.168.10.10/nc/' => ['https://192.168.10.10/nc/', '/nc'],
'https://192.168.10.10/nc' => ['https://192.168.10.10/nc', '/nc'],
'https://192.168.10.10/' => ['https://192.168.10.10/', ''],
'https://192.168.10.10' => ['https://192.168.10.10', ''],