Use generated URL

This commit is contained in:
Lukas Reschke 2016-08-15 17:37:55 +02:00
parent 910176c540
commit cf3cfca356
No known key found for this signature in database
GPG key ID: B9F6980CF6E759B1

View file

@ -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))