diff --git a/tests/lib/Files/ViewTest.php b/tests/lib/Files/ViewTest.php index 53e5855d0e9..a0723dce6ca 100644 --- a/tests/lib/Files/ViewTest.php +++ b/tests/lib/Files/ViewTest.php @@ -111,6 +111,12 @@ class ViewTest extends \Test\TestCase { protected function setUp(): void { parent::setUp(); \OC_Hook::clear(); + /* Disable encryption, this is not what we want to test */ + $encryptionManager = Server::get(\OCP\Encryption\IManager::class); + $encryptionModules = $encryptionManager->getEncryptionModules(); + foreach (array_keys($encryptionModules) as $encryptionModuleId) { + $encryptionManager->unregisterEncryptionModule($encryptionModuleId); + } Server::get(IUserManager::class)->clearBackends(); Server::get(IUserManager::class)->registerBackend(new \Test\Util\User\Dummy());