From cfe4abfd6d416fad249a2a9437d3d61c4ee55902 Mon Sep 17 00:00:00 2001 From: Vasyl Liulka Date: Fri, 6 Dec 2024 12:57:58 +0100 Subject: [PATCH] Remove obsolete test data --- .../modules/extending_3_classes/metadata.php | 23 ------------ .../metadata.php | 23 ------------ .../metadata_controllers_feature/metadata.php | 22 ------------ .../modules/no_extending/metadata.php | 18 ---------- .../Controller/Test1ContentController.php | 32 ----------------- .../Model/Module1TestContent.php | 24 ------------- .../unifiednamespace_module1/metadata.php | 36 ------------------- .../Controller/Test2ContentController.php | 18 ---------- .../Model/Test2Content.php | 18 ---------- .../unifiednamespace_module2/metadata.php | 35 ------------------ .../modules/with_1_extension/metadata.php | 22 ------------ .../modules/with_2_files/metadata.php | 22 ------------ .../modules/with_2_settings/metadata.php | 29 --------------- .../modules/with_2_templates/metadata.php | 22 ------------ .../modules/with_events/Event/MyEvents.php | 27 -------------- .../TestData/modules/with_events/metadata.php | 22 ------------ .../modules/with_metadata_v2/metadata.php | 29 --------------- .../.gitkeep | 0 .../.gitkeep | 0 .../modules/with_metadata_v21/metadata.php | 22 ------------ .../with_more_metadata_v2/metadata.php | 29 --------------- .../TestModuleOnePaymentController.php | 32 ----------------- .../Application/Model/TestModuleOneModel.php | 18 ---------- .../Application/Model/TestModuleOnePrice.php | 24 ------------- .../with_own_module_namespace/metadata.php | 28 --------------- .../TestModuleTwoPaymentController.php | 31 ---------------- .../Application/Model/TestModuleTwoModel.php | 18 ---------- .../Application/Model/TestModuleTwoPrice.php | 24 ------------- .../without_own_module_namespace/metadata.php | 26 -------------- .../ModuleChainExtension37a/MyClass37a.php | 16 --------- .../ModuleChainExtension37a/metadata.php | 24 ------------- .../ModuleChainExtension42/MyClass42.php | 14 -------- .../ModuleChainExtension42/metadata.php | 18 ---------- .../ModuleChainExtension37b/MyClass37b.php | 14 -------- .../ModuleChainExtension37b/metadata.php | 24 ------------- .../ModuleChainExtension43/MyClass43.php | 14 -------- .../ModuleChainExtension43/metadata.php | 23 ------------ .../Vendor2/ModuleInheritance23b/MyClass.php | 16 --------- .../Vendor2/ModuleInheritance23b/metadata.php | 18 ---------- .../Vendor2/ModuleInheritance27/MyClass.php | 16 --------- .../Vendor2/ModuleInheritance27/metadata.php | 19 ---------- .../ModuleChainExtension37c/MyClass37c.php | 14 -------- .../ModuleChainExtension37c/metadata.php | 23 ------------ .../module_chain_extension_4_1_b/metadata.php | 21 ----------- .../vendor_1_module_4_1_b_myclass.php | 12 ------- 45 files changed, 960 deletions(-) delete mode 100644 tests/Integration/Legacy/Modules/TestData/modules/extending_3_classes/metadata.php delete mode 100644 tests/Integration/Legacy/Modules/TestData/modules/extending_3_classes_with_1_extension/metadata.php delete mode 100644 tests/Integration/Legacy/Modules/TestData/modules/metadata_controllers_feature/metadata.php delete mode 100644 tests/Integration/Legacy/Modules/TestData/modules/no_extending/metadata.php delete mode 100644 tests/Integration/Legacy/Modules/TestData/modules/unifiednamespace_module1/Controller/Test1ContentController.php delete mode 100644 tests/Integration/Legacy/Modules/TestData/modules/unifiednamespace_module1/Model/Module1TestContent.php delete mode 100644 tests/Integration/Legacy/Modules/TestData/modules/unifiednamespace_module1/metadata.php delete mode 100644 tests/Integration/Legacy/Modules/TestData/modules/unifiednamespace_module2/Controller/Test2ContentController.php delete mode 100644 tests/Integration/Legacy/Modules/TestData/modules/unifiednamespace_module2/Model/Test2Content.php delete mode 100644 tests/Integration/Legacy/Modules/TestData/modules/unifiednamespace_module2/metadata.php delete mode 100644 tests/Integration/Legacy/Modules/TestData/modules/with_1_extension/metadata.php delete mode 100644 tests/Integration/Legacy/Modules/TestData/modules/with_2_files/metadata.php delete mode 100644 tests/Integration/Legacy/Modules/TestData/modules/with_2_settings/metadata.php delete mode 100644 tests/Integration/Legacy/Modules/TestData/modules/with_2_templates/metadata.php delete mode 100644 tests/Integration/Legacy/Modules/TestData/modules/with_events/Event/MyEvents.php delete mode 100644 tests/Integration/Legacy/Modules/TestData/modules/with_events/metadata.php delete mode 100644 tests/Integration/Legacy/Modules/TestData/modules/with_metadata_v2/metadata.php delete mode 100644 tests/Integration/Legacy/Modules/TestData/modules/with_metadata_v21/Smarty/PluginDirectory1WithMetadataVersion21/.gitkeep delete mode 100644 tests/Integration/Legacy/Modules/TestData/modules/with_metadata_v21/Smarty/PluginDirectory2WithMetadataVersion21/.gitkeep delete mode 100644 tests/Integration/Legacy/Modules/TestData/modules/with_metadata_v21/metadata.php delete mode 100644 tests/Integration/Legacy/Modules/TestData/modules/with_more_metadata_v2/metadata.php delete mode 100644 tests/Integration/Legacy/Modules/TestData/modules/with_own_module_namespace/Application/Controller/TestModuleOnePaymentController.php delete mode 100644 tests/Integration/Legacy/Modules/TestData/modules/with_own_module_namespace/Application/Model/TestModuleOneModel.php delete mode 100644 tests/Integration/Legacy/Modules/TestData/modules/with_own_module_namespace/Application/Model/TestModuleOnePrice.php delete mode 100644 tests/Integration/Legacy/Modules/TestData/modules/with_own_module_namespace/metadata.php delete mode 100644 tests/Integration/Legacy/Modules/TestData/modules/without_own_module_namespace/Application/Controller/TestModuleTwoPaymentController.php delete mode 100644 tests/Integration/Legacy/Modules/TestData/modules/without_own_module_namespace/Application/Model/TestModuleTwoModel.php delete mode 100644 tests/Integration/Legacy/Modules/TestData/modules/without_own_module_namespace/Application/Model/TestModuleTwoPrice.php delete mode 100644 tests/Integration/Legacy/Modules/TestData/modules/without_own_module_namespace/metadata.php delete mode 100644 tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor1/ModuleChainExtension37a/MyClass37a.php delete mode 100644 tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor1/ModuleChainExtension37a/metadata.php delete mode 100644 tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor1/ModuleChainExtension42/MyClass42.php delete mode 100644 tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor1/ModuleChainExtension42/metadata.php delete mode 100644 tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor2/ModuleChainExtension37b/MyClass37b.php delete mode 100644 tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor2/ModuleChainExtension37b/metadata.php delete mode 100644 tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor2/ModuleChainExtension43/MyClass43.php delete mode 100644 tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor2/ModuleChainExtension43/metadata.php delete mode 100644 tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor2/ModuleInheritance23b/MyClass.php delete mode 100644 tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor2/ModuleInheritance23b/metadata.php delete mode 100644 tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor2/ModuleInheritance27/MyClass.php delete mode 100644 tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor2/ModuleInheritance27/metadata.php delete mode 100644 tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor3/ModuleChainExtension37c/MyClass37c.php delete mode 100644 tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor3/ModuleChainExtension37c/metadata.php delete mode 100644 tests/Integration/Legacy/Modules/TestDataInheritance/modules/module_chain_extension_4_1_b/metadata.php delete mode 100644 tests/Integration/Legacy/Modules/TestDataInheritance/modules/module_chain_extension_4_1_b/vendor_1_module_4_1_b_myclass.php diff --git a/tests/Integration/Legacy/Modules/TestData/modules/extending_3_classes/metadata.php b/tests/Integration/Legacy/Modules/TestData/modules/extending_3_classes/metadata.php deleted file mode 100644 index 653c868354..0000000000 --- a/tests/Integration/Legacy/Modules/TestData/modules/extending_3_classes/metadata.php +++ /dev/null @@ -1,23 +0,0 @@ - 'extending_3_classes', - 'title' => 'Test extending 3 shop classes', - 'description' => 'Module testing extending 3 shop classes', - 'thumbnail' => 'picture.png', - 'version' => '1.0', - 'author' => 'OXID eSales AG', - 'extend' => [ - 'oxarticle' => 'extending_3_classes/myarticle', - 'oxorder' => 'extending_3_classes/myorder', - 'oxuser' => 'extending_3_classes/myuser', - ], -]; diff --git a/tests/Integration/Legacy/Modules/TestData/modules/extending_3_classes_with_1_extension/metadata.php b/tests/Integration/Legacy/Modules/TestData/modules/extending_3_classes_with_1_extension/metadata.php deleted file mode 100644 index ad95493aa4..0000000000 --- a/tests/Integration/Legacy/Modules/TestData/modules/extending_3_classes_with_1_extension/metadata.php +++ /dev/null @@ -1,23 +0,0 @@ - 'extending_3_classes_with_1_extension', - 'title' => 'Test extending 3 shop classes', - 'description' => 'Module testing extending 3 shop classes', - 'thumbnail' => 'picture.png', - 'version' => '1.0', - 'author' => 'OXID eSales AG', - 'extend' => [ - 'oxarticle' => 'extending_3_classes_with_1_extension/mybaseclass', - 'oxorder' => 'extending_3_classes_with_1_extension/mybaseclass', - 'oxuser' => 'extending_3_classes_with_1_extension/mybaseclass', - ], -]; diff --git a/tests/Integration/Legacy/Modules/TestData/modules/metadata_controllers_feature/metadata.php b/tests/Integration/Legacy/Modules/TestData/modules/metadata_controllers_feature/metadata.php deleted file mode 100644 index 6cb731e846..0000000000 --- a/tests/Integration/Legacy/Modules/TestData/modules/metadata_controllers_feature/metadata.php +++ /dev/null @@ -1,22 +0,0 @@ - 'metadata_controllers_feature', - 'title' => 'Test metadata_controllers_feature', - 'description' => '', - 'thumbnail' => 'picture.png', - 'version' => '1.0', - 'author' => 'OXID eSales AG', - 'controllers' => [ - 'metadata_controllers_feature-controllers-id-1' => 'metadata_controllers_feature-controllers-value-1', - 'metadata_controllers_feature-controllers-id-2' => 'metadata_controllers_feature-controllers-value-2', - ], -]; diff --git a/tests/Integration/Legacy/Modules/TestData/modules/no_extending/metadata.php b/tests/Integration/Legacy/Modules/TestData/modules/no_extending/metadata.php deleted file mode 100644 index eb6fb7e498..0000000000 --- a/tests/Integration/Legacy/Modules/TestData/modules/no_extending/metadata.php +++ /dev/null @@ -1,18 +0,0 @@ - 'no_extending', - 'title' => 'Test no extending classes', - 'description' => 'Module testing no extending classes', - 'thumbnail' => 'picture.png', - 'version' => '1.0', - 'author' => 'OXID eSales AG', -]; diff --git a/tests/Integration/Legacy/Modules/TestData/modules/unifiednamespace_module1/Controller/Test1ContentController.php b/tests/Integration/Legacy/Modules/TestData/modules/unifiednamespace_module1/Controller/Test1ContentController.php deleted file mode 100644 index f3ae8e65d5..0000000000 --- a/tests/Integration/Legacy/Modules/TestData/modules/unifiednamespace_module1/Controller/Test1ContentController.php +++ /dev/null @@ -1,32 +0,0 @@ -getTitle(); - } -} diff --git a/tests/Integration/Legacy/Modules/TestData/modules/unifiednamespace_module1/Model/Module1TestContent.php b/tests/Integration/Legacy/Modules/TestData/modules/unifiednamespace_module1/Model/Module1TestContent.php deleted file mode 100644 index 3db11b4d63..0000000000 --- a/tests/Integration/Legacy/Modules/TestData/modules/unifiednamespace_module1/Model/Module1TestContent.php +++ /dev/null @@ -1,24 +0,0 @@ - 'unifiednamespace_module1', - 'title' => [ - 'de' => 'OXID eSales example module 1', - 'en' => 'OXID eSales example module 1', - ], - 'description' => [ - 'de' => 'This module overrides ContentController::getTitle()', - 'en' => 'This module overrides ContentController::getTitle()', - ], - 'version' => '1.0.0', - 'author' => 'John Doe', - 'url' => 'www.johndoe.com', - 'email' => 'john@doe.com', - 'extend' => [ - 'content' => Test1ContentController::class, - 'test1content' => Module1TestContent::class, - ], - 'controllers' => [], - 'templates' => [], - 'settings' => [], - 'events' => [], -]; diff --git a/tests/Integration/Legacy/Modules/TestData/modules/unifiednamespace_module2/Controller/Test2ContentController.php b/tests/Integration/Legacy/Modules/TestData/modules/unifiednamespace_module2/Controller/Test2ContentController.php deleted file mode 100644 index 1b20c08845..0000000000 --- a/tests/Integration/Legacy/Modules/TestData/modules/unifiednamespace_module2/Controller/Test2ContentController.php +++ /dev/null @@ -1,18 +0,0 @@ - 'unifiednamespace_module2', - 'title' => [ - 'de' => 'OXID eSales example module2', - 'en' => 'OXID eSales example module2', - ], - 'description' => [ - 'de' => 'This module overrides ContentController::getTitle()', - 'en' => 'This module overrides ContentController::getTitle()', - ], - 'version' => '1.0.0', - 'author' => 'John Doe', - 'url' => 'www.johndoe.com', - 'email' => 'john@doe.com', - 'extend' => [ - 'content' => Test2ContentController::class, - 'test2content' => Test2Content::class, - ], - 'templates' => [], - 'settings' => [], - 'events' => [], -]; diff --git a/tests/Integration/Legacy/Modules/TestData/modules/with_1_extension/metadata.php b/tests/Integration/Legacy/Modules/TestData/modules/with_1_extension/metadata.php deleted file mode 100644 index ecaa2c5583..0000000000 --- a/tests/Integration/Legacy/Modules/TestData/modules/with_1_extension/metadata.php +++ /dev/null @@ -1,22 +0,0 @@ - 'with_1_extension', - 'title' => 'Test extending 1 shop classes', - 'description' => 'Module testing extending 3 shop classes', - 'thumbnail' => 'picture.png', - 'version' => '1.0', - 'author' => 'OXID eSales AG', - 'extend' => [ - 'oxarticle' => 'with_1_extension/mybaseclass', - ], -]; diff --git a/tests/Integration/Legacy/Modules/TestData/modules/with_2_files/metadata.php b/tests/Integration/Legacy/Modules/TestData/modules/with_2_files/metadata.php deleted file mode 100644 index 0cb2f3e4d2..0000000000 --- a/tests/Integration/Legacy/Modules/TestData/modules/with_2_files/metadata.php +++ /dev/null @@ -1,22 +0,0 @@ - 'with_2_files', - 'title' => 'Test with 2 classes added', - 'description' => 'Module testing with 2 classes added', - 'thumbnail' => 'picture.png', - 'version' => '1.0', - 'author' => 'OXID eSales AG', - 'files' => [ - 'myexception' => 'with_2_files/core/exception/myexception.php', - 'myconnection' => 'with_2_files/core/exception/myconnection.php', - ], -]; diff --git a/tests/Integration/Legacy/Modules/TestData/modules/with_2_settings/metadata.php b/tests/Integration/Legacy/Modules/TestData/modules/with_2_settings/metadata.php deleted file mode 100644 index f6a1c6655e..0000000000 --- a/tests/Integration/Legacy/Modules/TestData/modules/with_2_settings/metadata.php +++ /dev/null @@ -1,29 +0,0 @@ - 'with_2_settings', - 'title' => 'Test with 2 classes added', - 'description' => 'Module testing with 2 classes added', - 'thumbnail' => 'picture.png', - 'version' => '1.0', - 'author' => 'OXID eSales AG', - 'settings' => [[ - 'group' => 'my_checkconfirm', - 'name' => 'blCheckConfirm', - 'type' => 'bool', - 'value' => 'true', - ], [ - 'group' => 'my_displayname', - 'name' => 'sDisplayName', - 'type' => 'str', - 'value' => 'Some name', - ]], -]; diff --git a/tests/Integration/Legacy/Modules/TestData/modules/with_2_templates/metadata.php b/tests/Integration/Legacy/Modules/TestData/modules/with_2_templates/metadata.php deleted file mode 100644 index 2415245651..0000000000 --- a/tests/Integration/Legacy/Modules/TestData/modules/with_2_templates/metadata.php +++ /dev/null @@ -1,22 +0,0 @@ - 'with_2_templates', - 'title' => 'Test with 2 templates added', - 'description' => 'Module testing with 2 templates added', - 'thumbnail' => 'picture.png', - 'version' => '1.0', - 'author' => 'OXID eSales AG', - 'templates' => [ - 'order_special.tpl' => 'with_2_templates/views/admin/tpl/order_special.tpl', - 'user_connections.tpl' => 'with_2_templates/views/tpl/user_connections.tpl', - ], -]; diff --git a/tests/Integration/Legacy/Modules/TestData/modules/with_events/Event/MyEvents.php b/tests/Integration/Legacy/Modules/TestData/modules/with_events/Event/MyEvents.php deleted file mode 100644 index f5e27827cd..0000000000 --- a/tests/Integration/Legacy/Modules/TestData/modules/with_events/Event/MyEvents.php +++ /dev/null @@ -1,27 +0,0 @@ -setConfigParam('sTestActivateEvent', 'Activate'); - } - - public static function onDeactivate(): void - { - $oConfig = oxRegistry::getConfig(); - $oConfig->setConfigParam('sTestDeactivateEvent', 'Deactivate'); - } -} diff --git a/tests/Integration/Legacy/Modules/TestData/modules/with_events/metadata.php b/tests/Integration/Legacy/Modules/TestData/modules/with_events/metadata.php deleted file mode 100644 index 53a1182078..0000000000 --- a/tests/Integration/Legacy/Modules/TestData/modules/with_events/metadata.php +++ /dev/null @@ -1,22 +0,0 @@ - 'with_events', - 'title' => 'Test module with onActivate and onDeactivate events', - 'description' => 'Module testing with onActivate and onDeactivate events', - 'thumbnail' => 'picture.png', - 'version' => '1.0', - 'author' => 'OXID eSales AG', - 'events' => [ - 'onActivate' => '\OxidEsales\EshopCommunity\Tests\Integration\Legacy\Modules\TestData\modules\with_events\Event\MyEvents::onActivate', - 'onDeactivate' => '\OxidEsales\EshopCommunity\Tests\Integration\Legacy\Modules\TestData\modules\with_events\Event\MyEvents::onDeactivate', - ], -]; diff --git a/tests/Integration/Legacy/Modules/TestData/modules/with_metadata_v2/metadata.php b/tests/Integration/Legacy/Modules/TestData/modules/with_metadata_v2/metadata.php deleted file mode 100644 index dedd4519b0..0000000000 --- a/tests/Integration/Legacy/Modules/TestData/modules/with_metadata_v2/metadata.php +++ /dev/null @@ -1,29 +0,0 @@ - 'with_metadata_v2', - 'title' => 'Test extending 1 shop class', - 'description' => 'Module testing extending 1 shop class', - 'thumbnail' => 'picture.png', - 'version' => '1.0', - 'author' => 'OXID eSales AG', - 'extend' => [ - 'oxarticle' => 'with_metadata_v2/myarticle', - ], - 'templates' => [ - 'order_special.tpl' => 'with_metadata_v2/views/admin/tpl/order_special.tpl', - 'user_connections.tpl' => 'with_metadata_v2/views/tpl/user_connections.tpl', - ], - 'controllers' => [ - 'with_metadata_v2_MyModuleController' => 'OxidEsales\EshopCommunity\Tests\Integration\Legacy\Modules\TestData\modules\with_metadata_v2\MyModuleController', - 'with_metadata_v2_MyOtherModuleController' => 'OxidEsales\EshopCommunity\Tests\Integration\Legacy\Modules\TestData\modules\with_metadata_v2\MyOtherModuleController', - ], -]; diff --git a/tests/Integration/Legacy/Modules/TestData/modules/with_metadata_v21/Smarty/PluginDirectory1WithMetadataVersion21/.gitkeep b/tests/Integration/Legacy/Modules/TestData/modules/with_metadata_v21/Smarty/PluginDirectory1WithMetadataVersion21/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/tests/Integration/Legacy/Modules/TestData/modules/with_metadata_v21/Smarty/PluginDirectory2WithMetadataVersion21/.gitkeep b/tests/Integration/Legacy/Modules/TestData/modules/with_metadata_v21/Smarty/PluginDirectory2WithMetadataVersion21/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/tests/Integration/Legacy/Modules/TestData/modules/with_metadata_v21/metadata.php b/tests/Integration/Legacy/Modules/TestData/modules/with_metadata_v21/metadata.php deleted file mode 100644 index e2c85f27b1..0000000000 --- a/tests/Integration/Legacy/Modules/TestData/modules/with_metadata_v21/metadata.php +++ /dev/null @@ -1,22 +0,0 @@ - 'with_metadata_v21', - 'title' => 'Smarty plugin directoies', - 'description' => 'Test defining smarty plugin directoies', - 'thumbnail' => 'picture.png', - 'version' => '1.0', - 'author' => 'OXID eSales AG', - 'smartyPluginDirectories' => [ - 'Smarty/PluginDirectory1WithMetadataVersion21', - 'Smarty/PluginDirectory2WithMetadataVersion21', - ], -]; diff --git a/tests/Integration/Legacy/Modules/TestData/modules/with_more_metadata_v2/metadata.php b/tests/Integration/Legacy/Modules/TestData/modules/with_more_metadata_v2/metadata.php deleted file mode 100644 index 972e808639..0000000000 --- a/tests/Integration/Legacy/Modules/TestData/modules/with_more_metadata_v2/metadata.php +++ /dev/null @@ -1,29 +0,0 @@ - 'with_more_metadata_v2', - 'title' => 'Test extending 1 shop class', - 'description' => 'Module testing extending 1 shop class', - 'thumbnail' => 'picture.png', - 'version' => '1.0', - 'author' => 'OXID eSales AG', - 'extend' => [ - 'oxarticle' => 'with_more_metadata_v2/myarticle', - ], - 'templates' => [ - 'order_special.tpl' => 'with_more_metadata_v2/views/admin/tpl/order_special.tpl', - 'user_connections.tpl' => 'with_more_metadata_v2/views/tpl/user_connections.tpl', - ], - 'controllers' => [ - 'with_more_metadata_v2_mymodulecontroller' => 'OxidEsales\EshopCommunity\Tests\Integration\Legacy\Modules\TestData\modules\with_more_metadata_v2\MyModuleController', - 'with_more_metadata_v2_myothermodulecontroller' => 'OxidEsales\EshopCommunity\Tests\Integration\Legacy\Modules\TestData\modules\with_more_metadata_v2\MyOtherModuleController', - ], -]; diff --git a/tests/Integration/Legacy/Modules/TestData/modules/with_own_module_namespace/Application/Controller/TestModuleOnePaymentController.php b/tests/Integration/Legacy/Modules/TestData/modules/with_own_module_namespace/Application/Controller/TestModuleOnePaymentController.php deleted file mode 100644 index 1ac734026d..0000000000 --- a/tests/Integration/Legacy/Modules/TestData/modules/with_own_module_namespace/Application/Controller/TestModuleOnePaymentController.php +++ /dev/null @@ -1,32 +0,0 @@ -getInfo(); - - oxRegistry::getSession()->setVariable('payerror', '-1'); - oxRegistry::getSession()->setVariable( - 'payerrortext', - 'Test module prevents payment! ' . microtime(true) . $message - ); - - return $template; - } -} diff --git a/tests/Integration/Legacy/Modules/TestData/modules/with_own_module_namespace/Application/Model/TestModuleOneModel.php b/tests/Integration/Legacy/Modules/TestData/modules/with_own_module_namespace/Application/Model/TestModuleOneModel.php deleted file mode 100644 index d3eafc498f..0000000000 --- a/tests/Integration/Legacy/Modules/TestData/modules/with_own_module_namespace/Application/Model/TestModuleOneModel.php +++ /dev/null @@ -1,18 +0,0 @@ - 'with_own_module_namespace', - 'title' => 'OXID eShop namespaced test module', - 'description' => 'Double the price. Show payment error message during checkout.', - 'thumbnail' => 'module.png', - 'version' => '1.0.0', - 'author' => 'OXID eSales AG', - 'extend' => [ - PaymentController::class => TestModuleOnePaymentController::class, - Price::class => TestModuleOnePrice::class, - ], - 'settings' => [], -]; diff --git a/tests/Integration/Legacy/Modules/TestData/modules/without_own_module_namespace/Application/Controller/TestModuleTwoPaymentController.php b/tests/Integration/Legacy/Modules/TestData/modules/without_own_module_namespace/Application/Controller/TestModuleTwoPaymentController.php deleted file mode 100644 index beba40e132..0000000000 --- a/tests/Integration/Legacy/Modules/TestData/modules/without_own_module_namespace/Application/Controller/TestModuleTwoPaymentController.php +++ /dev/null @@ -1,31 +0,0 @@ -getInfo(); - - Registry::getSession()->setVariable('payerror', '-1'); - Registry::getSession()->setVariable( - 'payerrortext', - 'Test module prevents payment! ' . microtime(true) . $message - ); - - return $template; - } -} diff --git a/tests/Integration/Legacy/Modules/TestData/modules/without_own_module_namespace/Application/Model/TestModuleTwoModel.php b/tests/Integration/Legacy/Modules/TestData/modules/without_own_module_namespace/Application/Model/TestModuleTwoModel.php deleted file mode 100644 index 9d215f2642..0000000000 --- a/tests/Integration/Legacy/Modules/TestData/modules/without_own_module_namespace/Application/Model/TestModuleTwoModel.php +++ /dev/null @@ -1,18 +0,0 @@ - 'without_own_module_namespace', - 'title' => 'OXID eShop not namespaced test module', - 'description' => 'Double the price. Show payment error message during checkout.', - 'thumbnail' => 'module.png', - 'version' => '1.0.0', - 'author' => 'OXID eSales AG', - 'extend' => [ - 'payment' => TestModuleTwoPaymentController::class, - 'oxprice' => TestModuleTwoPrice::class, - ], - 'settings' => [], -]; diff --git a/tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor1/ModuleChainExtension37a/MyClass37a.php b/tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor1/ModuleChainExtension37a/MyClass37a.php deleted file mode 100644 index 1b1d7e307a..0000000000 --- a/tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor1/ModuleChainExtension37a/MyClass37a.php +++ /dev/null @@ -1,16 +0,0 @@ - 'Vendor1_ModuleChainExtension37a', - 'title' => 'Test OXID eShop class module chain extension 3.7a', - 'description' => 'The test has three test modules - they are sorted in every possible order in different test cases.', - 'thumbnail' => 'picture.png', - 'version' => '1.0', - 'author' => 'OXID eSales AG', - 'extend' => [ - Article::class => MyClass37a::class, - ], -]; diff --git a/tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor1/ModuleChainExtension42/MyClass42.php b/tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor1/ModuleChainExtension42/MyClass42.php deleted file mode 100644 index ec10cc015f..0000000000 --- a/tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor1/ModuleChainExtension42/MyClass42.php +++ /dev/null @@ -1,14 +0,0 @@ - 'Vendor1_ModuleChainExtension42', - 'title' => 'Test plain module class chain extension of namespaced module class 4.2', - 'description' => 'This module has the namespaced class in it.', - 'thumbnail' => 'picture.png', - 'version' => '1.0', - 'author' => 'OXID eSales AG', -]; diff --git a/tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor2/ModuleChainExtension37b/MyClass37b.php b/tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor2/ModuleChainExtension37b/MyClass37b.php deleted file mode 100644 index f2933c9721..0000000000 --- a/tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor2/ModuleChainExtension37b/MyClass37b.php +++ /dev/null @@ -1,14 +0,0 @@ - 'Vendor2_ModuleChainExtension37b', - 'title' => 'Test OXID eShop class module chain extension 3.7b', - 'description' => 'The test has three test modules - they are sorted in every possible order in different test cases.', - 'thumbnail' => 'picture.png', - 'version' => '1.0', - 'author' => 'OXID eSales AG', - 'extend' => [ - Article::class => MyClass37b::class, - ], -]; diff --git a/tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor2/ModuleChainExtension43/MyClass43.php b/tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor2/ModuleChainExtension43/MyClass43.php deleted file mode 100644 index 924dfcee43..0000000000 --- a/tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor2/ModuleChainExtension43/MyClass43.php +++ /dev/null @@ -1,14 +0,0 @@ - 'Vendor2_ModuleChainExtension43', - 'title' => 'Test OXID eShop class module chain extension 4.3', - 'description' => 'The module class and the chain extended OXID eShop class life in their namespaces.', - 'thumbnail' => 'picture.png', - 'version' => '1.0', - 'author' => 'OXID eSales AG', - 'extend' => [ - 'vendor_1_module_4_3_myclass' => MyClass43::class, - ], -]; diff --git a/tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor2/ModuleInheritance23b/MyClass.php b/tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor2/ModuleInheritance23b/MyClass.php deleted file mode 100644 index 2c513e96ed..0000000000 --- a/tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor2/ModuleInheritance23b/MyClass.php +++ /dev/null @@ -1,16 +0,0 @@ - 'Vendor2_ModuleInheritance23b', - 'title' => 'Test case 2.3: namespaced module class extends an other modules extended plain module class.', - 'description' => 'This module is the first mentioned module, the last in the inheritance chain.', - 'thumbnail' => 'picture.png', - 'version' => '1.0', - 'author' => 'OXID eSales AG', -]; diff --git a/tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor2/ModuleInheritance27/MyClass.php b/tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor2/ModuleInheritance27/MyClass.php deleted file mode 100644 index 8bc798cb17..0000000000 --- a/tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor2/ModuleInheritance27/MyClass.php +++ /dev/null @@ -1,16 +0,0 @@ - 'Vendor2_ModuleInheritance27', - // maybe find a better name for that - 'title' => 'Test PHP class inheritance 2.4', - 'description' => 'Namespace module class extends other module plain class', - 'thumbnail' => 'picture.png', - 'version' => '1.0', - 'author' => 'OXID eSales AG', -]; diff --git a/tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor3/ModuleChainExtension37c/MyClass37c.php b/tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor3/ModuleChainExtension37c/MyClass37c.php deleted file mode 100644 index 071617f1a7..0000000000 --- a/tests/Integration/Legacy/Modules/TestDataInheritance/modules/Vendor3/ModuleChainExtension37c/MyClass37c.php +++ /dev/null @@ -1,14 +0,0 @@ - 'Vendor3_ModuleChainExtension37c', - 'title' => 'Test OXID eShop class module chain extension 3.7c', - 'description' => 'The test has three test modules - they are sorted in every possible order in different test cases.', - 'thumbnail' => 'picture.png', - 'version' => '1.0', - 'author' => 'OXID eSales AG', - 'extend' => [ - 'oxArticle' => MyClass37c::class, - ], -]; diff --git a/tests/Integration/Legacy/Modules/TestDataInheritance/modules/module_chain_extension_4_1_b/metadata.php b/tests/Integration/Legacy/Modules/TestDataInheritance/modules/module_chain_extension_4_1_b/metadata.php deleted file mode 100644 index 8830c84e76..0000000000 --- a/tests/Integration/Legacy/Modules/TestDataInheritance/modules/module_chain_extension_4_1_b/metadata.php +++ /dev/null @@ -1,21 +0,0 @@ - 'module_chain_extension_4_1_b', - 'title' => 'Test OXID eShop class module chain extension 4.1', - 'description' => 'The module class has no namespace and chain extends a non namespaced other module class.', - 'thumbnail' => 'picture.png', - 'version' => '1.0', - 'author' => 'OXID eSales AG', - 'extend' => [ - 'vendor_1_module_4_1_a_myclass' => 'oeTest/module_chain_extension_4_1_b/vendor_1_module_4_1_b_myclass', - ], -]; diff --git a/tests/Integration/Legacy/Modules/TestDataInheritance/modules/module_chain_extension_4_1_b/vendor_1_module_4_1_b_myclass.php b/tests/Integration/Legacy/Modules/TestDataInheritance/modules/module_chain_extension_4_1_b/vendor_1_module_4_1_b_myclass.php deleted file mode 100644 index f7e9b837df..0000000000 --- a/tests/Integration/Legacy/Modules/TestDataInheritance/modules/module_chain_extension_4_1_b/vendor_1_module_4_1_b_myclass.php +++ /dev/null @@ -1,12 +0,0 @@ -