From 45d802bb369c72eb41676cd7df475566f2fe723e Mon Sep 17 00:00:00 2001 From: Kevin Kozan Date: Sun, 15 Jul 2018 19:43:56 -0500 Subject: [PATCH] MQE-1141: UpdateTestSchemaPaths broken due to updated relative paths - Updated paths of all relevant paths. --- .../Upgrade/UpdateTestSchemaPaths.php | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/Magento/FunctionalTestingFramework/Upgrade/UpdateTestSchemaPaths.php b/src/Magento/FunctionalTestingFramework/Upgrade/UpdateTestSchemaPaths.php index 80592a474..8b79b6019 100644 --- a/src/Magento/FunctionalTestingFramework/Upgrade/UpdateTestSchemaPaths.php +++ b/src/Magento/FunctionalTestingFramework/Upgrade/UpdateTestSchemaPaths.php @@ -24,22 +24,24 @@ class UpdateTestSchemaPaths implements UpgradeInterface */ public function execute(InputInterface $input) { + // @codingStandardsIgnoreStart $relativeToUrn = [ - "/src/Magento/FunctionalTestingFramework/DataGenerator/etc/dataOperation.xsd" + "dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/DataGenerator/etc/dataOperation.xsd" => "urn:magento:mftf:DataGenerator/etc/dataOperation.xsd", - "/src/Magento/FunctionalTestingFramework/DataGenerator/etc/dataProfileSchema.xsd" + "dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/DataGenerator/etc/dataProfileSchema.xsd" => "urn:magento:mftf:DataGenerator/etc/dataProfileSchema.xsd", - "/src/Magento/FunctionalTestingFramework/Page/etc/PageObject.xsd" + "dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/PageObject.xsd" => "urn:magento:mftf:Page/etc/PageObject.xsd", - "/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd" + "dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd" => "urn:magento:mftf:Page/etc/SectionObject.xsd", - "/src/Magento/FunctionalTestingFramework/Test/etc/actionGroupSchema.xsd" + "dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/actionGroupSchema.xsd" => "urn:magento:mftf:Test/etc/actionGroupSchema.xsd", - "/src/Magento/FunctionalTestingFramework/Test/etc/testSchema.xsd" + "dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/testSchema.xsd" => "urn:magento:mftf:Test/etc/testSchema.xsd", - "/src/Magento/FunctionalTestingFramework/Suite/etc/suiteSchema.xsd" + "dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Suite/etc/suiteSchema.xsd" => "urn:magento:mftf:Suite/etc/suiteSchema.xsd" ]; + // @codingStandardsIgnoreEnd $relativePatterns = []; $urns = [];