Use generated URL
This commit is contained in:
parent
910176c540
commit
cf3cfca356
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue