summaryrefslogtreecommitdiffstats
path: root/tests/lib/UrlGeneratorTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/UrlGeneratorTest.php')
-rw-r--r--tests/lib/UrlGeneratorTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/UrlGeneratorTest.php b/tests/lib/UrlGeneratorTest.php
index 0baacda53d1..03f55ff2244 100644
--- a/tests/lib/UrlGeneratorTest.php
+++ b/tests/lib/UrlGeneratorTest.php
@@ -116,7 +116,7 @@ class UrlGeneratorTest extends \Test\TestCase {
* test absolute URL construction
* @dataProvider provideDocRootURLs
*/
- function testGetAbsoluteURLDocRoot($url, $expectedResult) {
+ public function testGetAbsoluteURLDocRoot($url, $expectedResult) {
$this->mockBaseUrl();
\OC::$WEBROOT = '';
$result = $this->urlGenerator->getAbsoluteURL($url);
@@ -128,7 +128,7 @@ class UrlGeneratorTest extends \Test\TestCase {
* test absolute URL construction
* @dataProvider provideSubDirURLs
*/
- function testGetAbsoluteURLSubDir($url, $expectedResult) {
+ public function testGetAbsoluteURLSubDir($url, $expectedResult) {
$this->mockBaseUrl();
\OC::$WEBROOT = '/nextcloud';
$result = $this->urlGenerator->getAbsoluteURL($url);