Closed (fixed)
Project:
Metatag
Version:
2.2.x-dev
Component:
Tests
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
26 Oct 2026 at 19:15 UTC
Updated:
10 Nov 2026 at 09:45 UTC
Jump to comment: Most recent
The DisabledDefaultTags test is failing:
Disabled Default Tags (Drupal\Tests\metatag\Functional\DisabledDefaultTags)
⚠ Frontpage
⚠ 404
⚠ 403
⚠ None
⚠ Entity type defaults
⚠ Entity bundle defaults
✘ Entity canonical and shortlink none
┐
┊ ---·Expected
┊ +++·Actual
┊ @@ @@
┊ -'http://localhost/web/node/1'
┊ +'https://test.canonical'
│
│ /builds/project/metatag/tests/src/Functional/DisabledDefaultTagsTest.php:385
Also this is failing:
Core Tag Removal (Drupal\Tests\metatag_mobile\Functional\CoreTagRemovalTest)
✘ Removal core tag
┐
├ The link General was not found on the page.
├ Failed asserting that an array has the key 0.
│
│ /builds/project/metatag/web/core/tests/Drupal/Tests/UiHelperTrait.php:462
│ /builds/project/metatag/web/core/modules/field_ui/tests/src/Traits/FieldUiTestTrait.php:72
│ /builds/project/metatag/metatag_mobile/tests/src/Functional/CoreTagRemovalTest.php:54
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
Comment #2
damienmckennaComment #3
damienmckennaComment #5
damienmckennaComment #6
damienmckennaI fixed one test and now another one is failing that was working fine before.
Comment #7
joegraduateLooks like the MetatagEntitiesTest error in the original MR pipeline run was a database server shutdown mid-run. It passed when I triggered another run of the pipelines on your MR.
I think the CoreTagRemovalTest failure may be due to the standard install profile no longer including the basic page content type as of 11.4 (see related core change record).
Perhaps that test could be updated to no longer use the standard profile and just include a step to create the content type?
Comment #8
joegraduateComment #10
damienmckenna@joegraduate: Well spotted, thank you.
Comment #11
damienmckennaCommitted.