Needs work
Project:
Term condition
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
24 Nov 2021 at 23:10 UTC
Updated:
8 Apr 2025 at 14:26 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
xurizaemonDanielVeza, would you please visit https://www.drupal.org/node/2693767/qa and enable automated testing for MRs on the 2.0.x branch?
Comment #3
danielvezaOut of time today but whipped up a patch for this as a starting point
Comment #5
danielveza0 byte patch oops. Done a proper commit now
Marking as NR for the testbot
Comment #7
xurizaemonI clicked "open merge request" to see if that would kick the testbot off. Nope.
Let's use a checklist to work out what's missing!
https://www.drupal.org/docs/develop/managing-a-drupalorg-theme-module-or...
AFAICT this has been done - looks right to me.
Is "Run on commit and for issues" the bit that needs flipping here? I can't see that UI, only maintainers can... I think?
Comment #8
danielvezaHmm. I checked "Run on commit and for issues" under New tests. Lets see what that does
Comment #9
xurizaemonComment #10
xurizaemonComment #11
xurizaemonYes! Testbot needed to see an update to the MR in order to wake up. (The other updates last night were me trying a couple of levers that might do it, but they weren't sufficient to appease the test deities.)
I've pushed some coding standards changes to the MR, these should make no changes to your initial tests proper - let's see how that goes :)
(I've got some local WIP which we can add to this also.)
Comment #12
xurizaemonAdditionally to the above - I had to click into the test and tell testbot it was OK to run the test, even though tests were failing on the target branch. Now we have a pass!
I have not yet actually reviewed the test, lol. But we have progress :)
Comment #14
liam morlandI rebased the test. The test runs but it fails, because of the change from term id to term uuid; see #3363916: 2.0.2 breaks backward compatibility.
Coding standards pass with the changes in this merge request. The coding standards fixes are also in #3372964: Minor phpcs issues. That is ready for commit.
Branch
3251165-add-testson the main repo (not issue fork) should be deleted by the maintainer. It contains an older version of the code in the issue fork for this issue.Comment #15
dieuweHave deleted that branch and merged the coding standards issue.
Comment #16
xurizaemonRebased
Comment #17
liam morlandMinor updates made. Now coding standards pass and tests run, but they do not pass.