diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2016-08-15 17:37:55 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-08-15 17:37:55 +0200 |
commit | cf3cfca356962899d535e7c018486654a6fc8d0f (patch) | |
tree | ee0459c4520e900fda2c35cd033b8f7be75ea922 /tests | |
parent | 910176c540de634981c753224629cc4459312ded (diff) | |
download | nextcloud-server-cf3cfca356962899d535e7c018486654a6fc8d0f.tar.gz nextcloud-server-cf3cfca356962899d535e7c018486654a6fc8d0f.zip |
Use generated URL
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Core/Controller/LoginControllerTest.php | 2 |
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)) |