AmpersandHQ / ampersand-magento2-upgrade-patch-helper

Helper script to aid upgrading magento 2 websites by detecting overrides. Now supports third party module detections
GNU Lesser General Public License v3.0
322 stars 39 forks source link

WIP Test 2.4.7-beta1, fix hyva test #98

Closed convenient closed 1 year ago

convenient commented 1 year ago

Tests are failing with the following, need to see why they're failing ( turns out it was cache)

1) FunctionalTests::testMagentoTwoFour
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
 | WARN  | DB schema target changed | vendor/magento/module-sales/etc/db_schema.xml                                                                                      | vendor/ampersand/upgrade-patch-helper-test-module/src/module/etc/db_schema.xml (sales_order)                                       |\n
 | WARN  | DB schema target changed | vendor/magento/module-wishlist/etc/db_schema.xml                                                                                   | app/code/Ampersand/Test/etc/db_schema.xml (wishlist_item)                                                                          |\n
 | WARN  | Override (phtml/js/html) | vendor/ampersand/upgrade-patch-helper-test-hyva-fallback-theme/theme/Magento_Customer/templates/account/dashboard/info.phtml       | app/design/frontend/Ampersand/theme/Magento_Customer/templates/account/dashboard/info.phtml                                        |\n
-| WARN  | Override (phtml/js/html) | vendor/ampersand/upgrade-patch-helper-test-hyva-fallback-theme/theme/Magento_Customer/templates/account/dashboard/info.phtml       | vendor/ampersand/upgrade-patch-helper-test-hyva-theme-extended/theme/Magento_Customer/templates/account/dashboard/info.phtml       |\n
-| WARN  | Override (phtml/js/html) | vendor/ampersand/upgrade-patch-helper-test-hyva-fallback-theme/theme/Magento_Customer/templates/account/dashboard/info.phtml       | vendor/ampersand/upgrade-patch-helper-test-hyva-theme-stub/theme/Magento_Customer/templates/account/dashboard/info.phtml           |\n
 | WARN  | Override (phtml/js/html) | vendor/ampersand/upgrade-patch-helper-test-hyva-theme-stub/theme/Magento_Checkout/templates/cart/form.phtml                        | vendor/ampersand/upgrade-patch-helper-test-hyva-theme-extended/theme/Magento_Checkout/templates/cart/form.phtml                    |\n
 | WARN  | Override (phtml/js/html) | vendor/ampersand/upgrade-patch-helper-test-module/src/module/view/frontend/templates/checkout/something.phtml                      | app/design/frontend/Ampersand/theme/Ampersand_TestVendor/templates/checkout/something.phtml                                        |\n
 | WARN  | Override (phtml/js/html) | vendor/ampersand/upgrade-patch-helper-test-module/src/module/view/frontend/templates/checkout/something.phtml                      | vendor/ampersand/upgrade-patch-helper-test-hyva-theme-extended/theme/Ampersand_TestVendor/templates/checkout/something.phtml       |\n
@@ @@
 | WARN  | Preference Removed       | vendor/ampersand/upgrade-patch-helper-test-module/src/module/Model/ToPreferenceAndDelete.php                                       | Ampersand\Test\Model\ToPreferenceAndDelete                                                                                         |\n
 | WARN  | Preference Removed       | vendor/ampersand/upgrade-patch-helper-test-module/src/module/Model/ToPreferenceAndExtendAndDelete.php                              | Ampersand\Test\Model\ToPreferenceAndExtendAndDelete                                                                                |\n
 +-------+--------------------------+------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+\n
-WARN count: 52\n
+WARN count: 50\n
 INFO count: 395 (to view re-run this tool with --show-info)\n
 For docs on each check see https://github.com/AmpersandHQ/ampersand-magento2-upgrade-patch-helper/blob/master/docs/CHECKS_AVAILABLE.md'
/src/dev/phpunit/functional/FunctionalTests.php:195

Checklist