DefaultTokenProviderTest mocked/asserted the wrong method

It's 'getRemember' instead of 'getRememberMe', hence some warnings
were generated by phpunit.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst 2017-02-28 10:26:19 +01:00
parent b72b02778d
commit e782f90d98
No known key found for this signature in database
GPG Key ID: CC42AC2A7F0E56D8
1 changed files with 2 additions and 2 deletions

View File

@ -294,7 +294,7 @@ class DefaultTokenProviderTest extends TestCase {
->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 @@ class DefaultTokenProviderTest extends TestCase {
->willReturn('MyTokenName');
$token
->expects($this->at(3))
->method('getRememberMe')
->method('getRemember')
->willReturn(IToken::REMEMBER);
$this->crypto
->expects($this->any(0))