Describe your bug or feature request.

3.x tests are failing on D11, due to a silly issue with the ordering of cache tags (See below):

ProductVariationResourceTest::testRelated
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
 Array (
-    0 => 'config:system.logging'
-    1 => 'http_response'
-    3 => 'commerce_product_variation:1'
-    4 => 'commerce_product:1'
+    0 => 'commerce_product:1'
+    1 => 'commerce_product_variation:1'
+    3 => 'http_response'
+    2 => 'config:system.logging'
 )

Let's try to find a solution for those failures.

Issue fork commerce-3468078

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jsacksick created an issue. See original summary.

tBKoT made their first commit to this issue’s fork.

jsacksick’s picture

Title: Fix ProductVariationResourceTest::testRelated() » Fix the 3.x tests on D11

Interesting, we now have fresh test failures... lol

jsacksick’s picture

I'm guessing the new test failures are caused by #3466529: Use easily recognizable date format.

  • jsacksick committed 87809ce5 on 3.0.x authored by tBKoT
    Issue #3468078 by jsacksick, tBKoT: Fix the 3.x tests on D11.
    
jsacksick’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.