diff options
author | Louis Chemineau <louis@chmn.me> | 2024-09-20 11:26:22 +0200 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2024-09-23 16:59:58 +0200 |
commit | 483eaa7e726228fd957f91676295fced13c48bba (patch) | |
tree | fde2a92289f504bb8ea9e301f28fc2779c078f25 /tests/lib/Files/Storage/Wrapper/EncryptionTest.php | |
parent | 285136616e5df3d43c78ac0a3caa7a0e85f8d757 (diff) | |
download | nextcloud-server-backport/48207/stable28.tar.gz nextcloud-server-backport/48207/stable28.zip |
fix(users): Don't crash if disabled user is missing in the databasebackport/48207/stable28
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'tests/lib/Files/Storage/Wrapper/EncryptionTest.php')
-rw-r--r-- | tests/lib/Files/Storage/Wrapper/EncryptionTest.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/lib/Files/Storage/Wrapper/EncryptionTest.php b/tests/lib/Files/Storage/Wrapper/EncryptionTest.php index be5f191c6eb..9888d837f17 100644 --- a/tests/lib/Files/Storage/Wrapper/EncryptionTest.php +++ b/tests/lib/Files/Storage/Wrapper/EncryptionTest.php @@ -133,7 +133,8 @@ class EncryptionTest extends Storage { ->setConstructorArgs([new View(), new Manager( $this->config, $this->createMock(ICacheFactory::class), - $this->createMock(IEventDispatcher::class) + $this->createMock(IEventDispatcher::class), + $this->createMock(LoggerInterface::class), ), $this->groupManager, $this->config, $this->arrayCache]) ->getMock(); $this->util->expects($this->any()) @@ -573,7 +574,8 @@ class EncryptionTest extends Storage { new Manager( $this->config, $this->createMock(ICacheFactory::class), - $this->createMock(IEventDispatcher::class) + $this->createMock(IEventDispatcher::class), + $this->createMock(LoggerInterface::class), ), $this->groupManager, $this->config, @@ -655,7 +657,8 @@ class EncryptionTest extends Storage { ->setConstructorArgs([new View(), new Manager( $this->config, $this->createMock(ICacheFactory::class), - $this->createMock(IEventDispatcher::class) + $this->createMock(IEventDispatcher::class), + $this->createMock(LoggerInterface::class), ), $this->groupManager, $this->config, $this->arrayCache]) ->getMock(); |