diff options
author | Joas Schilling <coding@schilljs.com> | 2024-10-03 00:28:07 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2024-10-21 11:28:53 +0200 |
commit | b7a164427ce0ace00a67e1b20030c152d85e3619 (patch) | |
tree | bd01900138561ff08b1b623a81911f3587789785 | |
parent | c71097640a568662a07f5f28fb43e2675ab9afd4 (diff) | |
download | nextcloud-server-b7a164427ce0ace00a67e1b20030c152d85e3619.tar.gz nextcloud-server-b7a164427ce0ace00a67e1b20030c152d85e3619.zip |
test: Fix wrongly mocked method
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | apps/encryption/tests/Crypto/CryptTest.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/encryption/tests/Crypto/CryptTest.php b/apps/encryption/tests/Crypto/CryptTest.php index 738dfe0a2a0..eea4186377c 100644 --- a/apps/encryption/tests/Crypto/CryptTest.php +++ b/apps/encryption/tests/Crypto/CryptTest.php @@ -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(); |