Use generated URL
This commit is contained in:
parent
81467f7c4e
commit
5e9c7d3ff3
|
@ -327,7 +327,7 @@ class LoginControllerTest extends TestCase {
|
||||||
/** @var IUser | \PHPUnit_Framework_MockObject_MockObject $user */
|
/** @var IUser | \PHPUnit_Framework_MockObject_MockObject $user */
|
||||||
$user = $this->getMock('\OCP\IUser');
|
$user = $this->getMock('\OCP\IUser');
|
||||||
$password = 'secret';
|
$password = 'secret';
|
||||||
$indexPageUrl = 'http://localhost/index.php/apps/files/';
|
$indexPageUrl = \OC_Util::getDefaultPageUrl();
|
||||||
|
|
||||||
$this->request
|
$this->request
|
||||||
->expects($this->exactly(2))
|
->expects($this->exactly(2))
|
||||||
|
|
Loading…
Reference in New Issue