diff --git a/tests/tine20/Felamimail/TestCase.php b/tests/tine20/Felamimail/TestCase.php index 36c7a728f3e..ad0125480a2 100644 --- a/tests/tine20/Felamimail/TestCase.php +++ b/tests/tine20/Felamimail/TestCase.php @@ -219,12 +219,14 @@ protected function tearDown(): void } } + $aclCheck = Felamimail_Controller_Account::getInstance()->doContainerACLChecks(false); foreach ($this->_accountsToClear as $account) { try { Felamimail_Controller_Account::getInstance()->delete([$account->getId()]); } catch (Exception $e) { } } + Felamimail_Controller_Account::getInstance()->doContainerACLChecks($aclCheck); parent::tearDown();