diff options
author | Joas Schilling <coding@schilljs.com> | 2024-10-03 00:28:07 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2024-10-07 12:11:35 +0200 |
commit | 4312473fbc1318e4a53dda7161fa85ee7aed9eed (patch) | |
tree | d87bb1eee7868d8d2c216f0a67fc1e166256d7ff /apps | |
parent | 843f638315a6379e2fb896786e3f8465fb3134cf (diff) | |
download | nextcloud-server-4312473fbc1318e4a53dda7161fa85ee7aed9eed.tar.gz nextcloud-server-4312473fbc1318e4a53dda7161fa85ee7aed9eed.zip |
test: Fix wrongly mocked method
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps')
-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 a9869af99d9..9b6c8227083 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(); |