summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-08-15 17:37:55 +0200
committerLukas Reschke <lukas@statuscode.ch>2016-08-15 17:37:55 +0200
commitcf3cfca356962899d535e7c018486654a6fc8d0f (patch)
treeee0459c4520e900fda2c35cd033b8f7be75ea922 /tests
parent910176c540de634981c753224629cc4459312ded (diff)
downloadnextcloud-server-cf3cfca356962899d535e7c018486654a6fc8d0f.tar.gz
nextcloud-server-cf3cfca356962899d535e7c018486654a6fc8d0f.zip
Use generated URL
Diffstat (limited to 'tests')
-rw-r--r--tests/Core/Controller/LoginControllerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Core/Controller/LoginControllerTest.php b/tests/Core/Controller/LoginControllerTest.php
index 58788af2f4e..8eaa7c9843b 100644
--- a/tests/Core/Controller/LoginControllerTest.php
+++ b/tests/Core/Controller/LoginControllerTest.php
@@ -331,7 +331,7 @@ class LoginControllerTest extends TestCase {
/** @var IUser | \PHPUnit_Framework_MockObject_MockObject $user */
$user = $this->getMockBuilder('\OCP\IUser')->getMock();
$password = 'secret';
- $indexPageUrl = 'http://localhost/index.php/apps/files/';
+ $indexPageUrl = \OC_Util::getDefaultPageUrl();
$this->request
->expects($this->exactly(2))