diff --git a/tests/lib/Authentication/Token/DefaultTokenProviderTest.php b/tests/lib/Authentication/Token/DefaultTokenProviderTest.php index e354fcc7172b3..bbfcd93913bec 100644 --- a/tests/lib/Authentication/Token/DefaultTokenProviderTest.php +++ b/tests/lib/Authentication/Token/DefaultTokenProviderTest.php @@ -294,7 +294,7 @@ public function testRenewSessionTokenWithoutPassword() { ->willReturn('MyTokenName'); $token ->expects($this->at(3)) - ->method('getRememberMe') + ->method('getRemember') ->willReturn(IToken::DO_NOT_REMEMBER); $this->config ->expects($this->exactly(2)) @@ -349,7 +349,7 @@ public function testRenewSessionTokenWithPassword() { ->willReturn('MyTokenName'); $token ->expects($this->at(3)) - ->method('getRememberMe') + ->method('getRemember') ->willReturn(IToken::REMEMBER); $this->crypto ->expects($this->any(0))