Merge pull request #3650 from nextcloud/bugfix/tokenprovider-asserted-method-name
DefaultTokenProviderTest mocked/asserted the wrong method
This commit is contained in:
commit
383e30e57e
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue