mirror of
https://github.com/nextcloud/server.git
synced 2026-02-27 03:50:37 -05:00
test: Fix wrongly mocked method
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
c71097640a
commit
b7a164427c
1 changed files with 1 additions and 2 deletions
|
|
@ -37,8 +37,7 @@ class CryptTest extends TestCase {
|
|||
->disableOriginalConstructor()
|
||||
->getMock();
|
||||
$this->logger->expects($this->any())
|
||||
->method('warning')
|
||||
->willReturn(true);
|
||||
->method('warning');
|
||||
$this->userSession = $this->getMockBuilder(IUserSession::class)
|
||||
->disableOriginalConstructor()
|
||||
->getMock();
|
||||
|
|
|
|||
Loading…
Reference in a new issue