Closed (fixed)
Project:
Drupal core
Version:
11.0.x-dev
Component:
base system
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 May 2023 at 11:38 UTC
Updated:
30 Jun 2025 at 04:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
catch17 failures on https://www.drupal.org/pift-ci-job/2662465
Comment #3
catchHere's a start.
Comment #4
catchThis should resolve most/all of the help_topics failures.
Comment #5
catchThis fixes fatal errors in a locale test but not the actual failure, which might be down to l.d.o
Comment #9
catchSkipping the remaining tests for now. We can probably make them work with 11.x (not sure if they should though), but no idea what we'll do once we have a 'main' branch with no version number.
Comment #11
catchThe two locale tests are failing in ::setUp() before we try to skip the test, so also need an early return.
Comment #12
catchThanks phpcs...
Comment #13
alexpottI think it's worth making this dynamic so we don't have to change this on every major Drupal version.
Let's add a skip test in a new setUp implementation - then we wouldn't need to mess with PHPCS
Comment #14
alexpottWhat I mean by #13.2 is add this:
Calling
$this->markTestSkipped();prior to the parent::setUp() is the most efficient way to skip a test as you don't even do an install.Comment #15
catch#13.1 @xjm mentioned in slack just skipping everything here and adding a follow-up to make things dynamic, switching over to that and will open the follow-up in a bit.
#13.2 ahh nice that crossed my mind but I didn't know whether it actually worked! Much better.
Comment #16
catchOpened #3359322: Fix the various tests fail every time we open a new major branch and unskip them on the 11.x branch.
Comment #17
andypostShould it be a @todo with link to the new issue?
Comment #18
alexpottDiscussed the @todo with @catch we agreed that as long as with have a critical issue open to fix them this is fine.
Comment #19
alexpottShould be
$this->markTestSkipped('Skipped due to version-specific logic.')This way PHPUnit output is even more helpful.
Comment #20
catchReworked things so the reason we skip is inside the messages including the follow-up issue link.
Comment #21
catchDodgy space bar.
Comment #22
andypostLooks great and good to go!
Follow-up exists #3359322: Fix the various tests fail every time we open a new major branch and unskip them on the 11.x branch
Comment #23
alexpottCommitted 861648c and pushed to 11.x. Thanks!
Comment #26
quietone commentedUpdate version to the branch this applies to.