Closed (fixed)
Project:
TOC API
Version:
8.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
31 Aug 2023 at 20:10 UTC
Updated:
20 Feb 2025 at 03:09 UTC
Jump to comment: Most recent
The module has tests but there are no testing configurations, so they do not get run.
Configure tests.
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 #4
ericgsmith commentedAdded .gitlab-ci.yml example file - there are some tests that need cleanup before configuring scheduled tests / tests on MR.
Comment #5
penyaskitoFailures are because of https://www.drupal.org/node/3030340 needs to be handled.
Comment #6
ericgsmith commentedRunning properly now - the 2 failures appear to be #3417862: anchors add -01
Setting to needs review on the assumption any changes to the test / logic for the failing tests should be handled in #3417862: anchors add -01
Comment #7
liam morlandTests are now passing. This is achieved partially by disabling some of the tests.
I suggest that this be merged. With this merged, at least some testing will be in place to help with other issues. The tests that have been disabled can be fixed and re-enabled in a follow-up issue.
The commits should get a clean-up before merge. I am happy to do this. Maintainer, please let me know if you agree with the direction of this and I will do the clean-up.
Comment #9
jannakha commentedphpunit is green. Good to go.
Manually tested on D11.
+1 for RTBC
Comment #11
vladimirausThank you. Committed. 🍰