- Issue created by @plopesc
- Status changed to Needs review
9 months ago 9:45am 11 March 2024 - First commit to issue fork.
- Status changed to RTBC
9 months ago 1:37pm 11 March 2024 - πΊπΈUnited States smustgrave
Ran the test-only feature
1) Drupal\Tests\shortcut\Functional\ShortcutCacheTagsTest::testBlock Failed asserting that two arrays are identical. --- Expected +++ Actual @@ @@ 0 => 'languages:language_interface' 1 => 'theme' 2 => 'url.query_args:_wrapper_format' - 3 => 'user' + 3 => 'user.permissions' + 4 => 'user.roles:authenticated' ) /builds/issue/drupal-3426624/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php:121 /builds/issue/drupal-3426624/vendor/phpunit/phpunit/src/Framework/Constraint/IsIdentical.php:79 /builds/issue/drupal-3426624/core/modules/system/tests/src/Functional/Cache/AssertPageCacheContextsAndTagsTrait.php:155 /builds/issue/drupal-3426624/core/modules/shortcut/tests/src/Functional/ShortcutCacheTagsTest.php:289 /builds/issue/drupal-3426624/vendor/phpunit/phpunit/src/Framework/TestResult.php:728 FAILURES! Tests: 4, Assertions: 194, Failures: 1.
Was able to reproduce the issue and the MR did solve the problem for me.
LGTM!
- Status changed to Fixed
8 months ago 12:09pm 12 March 2024 - π¬π§United Kingdom catch
Looks good to me, nice to see it can just re-use the existing lazy builder.
Committed/pushed to 11.x and cherry-picked to 10.3.x, thanks!
Automatically closed - issue fixed for 2 weeks with no activity.