aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit/connector/sabre/auth.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/tests/unit/connector/sabre/auth.php')
-rw-r--r--apps/dav/tests/unit/connector/sabre/auth.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/dav/tests/unit/connector/sabre/auth.php b/apps/dav/tests/unit/connector/sabre/auth.php
index 42be21d90fe..d3f697ba8e6 100644
--- a/apps/dav/tests/unit/connector/sabre/auth.php
+++ b/apps/dav/tests/unit/connector/sabre/auth.php
@@ -167,7 +167,7 @@ class Auth extends TestCase {
->will($this->returnValue('AnotherUser'));
$this->userSession
->expects($this->once())
- ->method('login')
+ ->method('logClientIn')
->with('MyTestUser', 'MyTestPassword')
->will($this->returnValue(true));
$this->userSession
@@ -192,7 +192,7 @@ class Auth extends TestCase {
->will($this->returnValue(false));
$this->userSession
->expects($this->once())
- ->method('login')
+ ->method('logClientIn')
->with('MyTestUser', 'MyTestPassword')
->will($this->returnValue(false));
$this->session
@@ -560,7 +560,7 @@ class Auth extends TestCase {
->getMock();
$this->userSession
->expects($this->once())
- ->method('login')
+ ->method('logClientIn')
->with('username', 'password')
->will($this->returnValue(true));
$this->userSession
@@ -602,7 +602,7 @@ class Auth extends TestCase {
->getMock();
$this->userSession
->expects($this->once())
- ->method('login')
+ ->method('logClientIn')
->with('username', 'password')
->will($this->returnValue(false));
$response = $this->auth->check($server->httpRequest, $server->httpResponse);