mage-os / mageos-magento2

Work in progress.
Open Software License 3.0
213 stars 45 forks source link

[Integration Tests] Magento\Catalog\Block tests are failed #81

Closed vpodorozh closed 7 months ago

vpodorozh commented 9 months ago

Description

Magento\Catalog\Block tests are failed: https://github.com/vpodorozh/mageos-magento2/actions/runs/7801306178/job/21276167070#step:6:66

1) Magento\Catalog\Block\Product\ListProduct\SortingTest::testProductListOutOfStockSortOrderWithElasticsearch with data set "default_order_price_desc" ('price', 'DESC', array('simple3', 'simple2', 'simple1', 'configurable'))
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
 Array (
-    0 => 'simple3'
-    1 => 'simple2'
-    2 => 'simple1'
-    3 => 'configurable'
+    0 => 'configurable'
+    1 => 'simple3'
+    2 => 'simple2'
+    3 => 'simple1'
 )

/var/www/html/dev/tests/integration/testsuite/Magento/Catalog/Block/Product/ListProduct/SortingTest.php:[33](https://github.com/vpodorozh/mageos-magento2/actions/runs/7801306178/job/21276167070#step:6:34)8
/var/www/html/dev/tests/integration/testsuite/Magento/Catalog/Block/Product/ListProduct/SortingTest.php:464
/var/www/html/dev/tests/integration/testsuite/Magento/Catalog/Block/Product/ListProduct/SortingTest.php:401

Expected behavior

tests are passed

Benefits

No response

Additional information

No response

Release note

No response

vpodorozh commented 7 months ago

resolved in related PR