diff --git a/dev/tests/integration/testsuite/Magento/Setup/Console/Command/GenerateFixturesCommandTest.php b/dev/tests/integration/testsuite/Magento/Setup/Console/Command/GenerateFixturesCommandTest.php index e39d4d7331a40..3ec185e71a1e5 100644 --- a/dev/tests/integration/testsuite/Magento/Setup/Console/Command/GenerateFixturesCommandTest.php +++ b/dev/tests/integration/testsuite/Magento/Setup/Console/Command/GenerateFixturesCommandTest.php @@ -80,14 +80,6 @@ protected function setUp(): void parent::setUp(); } - /** - * @return string - */ - private function getEdition() - { - return trim(file_get_contents(__DIR__ . '/_files/edition')); - } - /** * teardown */ @@ -117,7 +109,7 @@ public static function setUpBeforeClass(): void */ public function testExecute() { - $profile = BP . "/setup/performance-toolkit/profiles/{$this->getEdition()}/small.xml"; + $profile = realpath(__DIR__ . "/_files/min_profile.xml"); $this->commandTester->execute( [ GenerateFixturesCommand::PROFILE_ARGUMENT => $profile, diff --git a/dev/tests/integration/testsuite/Magento/Setup/Console/Command/_files/min_profile.xml b/dev/tests/integration/testsuite/Magento/Setup/Console/Command/_files/min_profile.xml new file mode 100644 index 0000000000000..6f6c548621b21 --- /dev/null +++ b/dev/tests/integration/testsuite/Magento/Setup/Console/Command/_files/min_profile.xml @@ -0,0 +1,122 @@ + + + + + 2 + 1 + 1 + 1 + 0 + 1 + + + + + 3 + image + + + 8 + + + Configurable Product %s + 16 + + + + 1 + 1 + + 1 + 1 + 1 + + 1 + 1 + 1 + 1 + + 1 + 1 + 1 + + true + 1 + 1 + 1 + + tax_rates_small.csv + + + + admin/security/use_form_key + default + 0 + 0 + + + admin/security/session_lifetime + default + 0 + 7200 + + + admin/security/admin_account_sharing + default + 0 + 1 + + + carriers/flatrate/active + default + 0 + 1 + + + + + catalog_category_product + false + + + catalog_product_category + false + + + catalog_product_price + false + + + catalog_product_attribute + false + + + cataloginventory_stock + false + + + catalogrule_rule + false + + + catalogrule_product + false + + + catalogsearch_fulltext + false + + + + + + + + + +