Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
http://cgit.drupalcode.org/drupal/commit/?h=8.3.x&id=d561e62e0d8797bffaa... got commited, so we need to fix our tests to the new interface text.
Comment | File | Size | Author |
---|---|---|---|
#14 | fix_block_delete_tests-2817399-12.patch | 1.26 KB | itsekhmistro |
Comments
Comment #2
borisson_This is why the automated tests are currently failing: https://www.drupal.org/pift-ci-job/501391
Comment #3
borisson_Comment #5
borisson_Works, closed.
Comment #7
borisson_Comment #9
borisson_sssh testbot.
Comment #10
borisson_Back to active, I discussed this being the reason that tests fail in irc with @mkalkbrenner.
So we need to do
if (\Drupal::VERSION < 8.3) { // Code before the patch in #3. } else { // code changes with patch }
or something similar. (that probably won't work, but that's the idea anyway.)Comment #11
niko- CreditAttribution: niko- at Adyax commentedComment #12
niko- CreditAttribution: niko- at Adyax commentedComment #13
borisson_This looks great, thanks! Tests pass on both 8.2 and 8.3.
Comment #14
itsekhmistro CreditAttribution: itsekhmistro at Adyax commentedMinor fix added to patch in comment #11
Comment #15
borisson_Changed the comment a little bit on commit. Thanks for helping out!