Use generated URL

This commit is contained in:
Lukas Reschke 2016-08-15 17:37:55 +02:00
parent 81467f7c4e
commit 5e9c7d3ff3
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
1 changed files with 1 additions and 1 deletions

View File

@ -327,7 +327,7 @@ class LoginControllerTest extends TestCase {
/** @var IUser | \PHPUnit_Framework_MockObject_MockObject $user */
$user = $this->getMock('\OCP\IUser');
$password = 'secret';
$indexPageUrl = 'http://localhost/index.php/apps/files/';
$indexPageUrl = \OC_Util::getDefaultPageUrl();
$this->request
->expects($this->exactly(2))