diff options
author | Joas Schilling <coding@schilljs.com> | 2018-11-20 13:28:07 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-11-20 13:36:16 +0100 |
commit | b8fcf6e9b3d492d19bbbdcd144428fef9bbf2324 (patch) | |
tree | 49884da795153faa34261806508cd2775d15788b /tests | |
parent | 2b18b9ae96d973e601fda2074e6153b0f5562eab (diff) | |
download | nextcloud-server-b8fcf6e9b3d492d19bbbdcd144428fef9bbf2324.tar.gz nextcloud-server-b8fcf6e9b3d492d19bbbdcd144428fef9bbf2324.zip |
Allow empty strings in getAbsoluteURL
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/UrlGeneratorTest.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib/UrlGeneratorTest.php b/tests/lib/UrlGeneratorTest.php index cc93febd53d..9a8e588a229 100644 --- a/tests/lib/UrlGeneratorTest.php +++ b/tests/lib/UrlGeneratorTest.php @@ -145,6 +145,8 @@ class UrlGeneratorTest extends \Test\TestCase { public function provideSubDirURLs() { return [ + ['', 'http://localhost/nextcloud/'], + ['/', 'http://localhost/nextcloud/'], ['index.php', 'http://localhost/nextcloud/index.php'], ['/index.php', 'http://localhost/nextcloud/index.php'], ['/apps/index.php', 'http://localhost/nextcloud/apps/index.php'], |