From fb30707321cb054a37dfda4886d51f71b4373b2b Mon Sep 17 00:00:00 2001 From: marcelmanzel Date: Wed, 14 Aug 2024 13:49:17 +0200 Subject: [PATCH] OXDEV-8489: Fix module configuration deletion in ModuleSettingBaseCest --- tests/Codeception/Acceptance/Module/ModuleSettingBaseCest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Codeception/Acceptance/Module/ModuleSettingBaseCest.php b/tests/Codeception/Acceptance/Module/ModuleSettingBaseCest.php index 2991ac6..cbb63cf 100644 --- a/tests/Codeception/Acceptance/Module/ModuleSettingBaseCest.php +++ b/tests/Codeception/Acceptance/Module/ModuleSettingBaseCest.php @@ -96,6 +96,8 @@ protected function removeConfiguration(string $moduleId): void { $shopConfiguration = $this->getShopConfiguration(); $shopConfiguration->deleteModuleConfiguration($moduleId); + $shopConfigurationDao = $this->getShopConfigurationDao(); + $shopConfigurationDao->save($shopConfiguration, 1); } protected function getShopConfigurationDao(): ShopConfigurationDao