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:
parent
b72b02778d
commit
e782f90d98
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue