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.
Problem/Motivation
Automated tests are failing on unrelated patches (#3042661: Drupal 9 Deprecated Code Report, #3182867: Remove unused use statements) seemingly due to an incompatibility with config_filter 2.x:
So that confirms that the issue is related to the version of config_filter being used during the test. It seems like the test is written in a way that only seems to work with config_filter 1.x.
Steps to reproduce
Submit a patch for testing.
Proposed resolution
Refactor the failing test to make it compatible with both config_filter 1.x and 2.x.
Comment | File | Size | Author |
---|---|---|---|
#9 | 3182999-9.patch | 18.18 KB | bircher |
| |||
#7 | 3182999-7.patch | 17.52 KB | bircher |
#5 | 3182999-5.patch | 16.87 KB | bircher |
#2 | 3182999-2.patch | 16.56 KB | bircher |
Comments
Comment #2
bircherlets see if this fixes it.
In addition I also added a whole bunch of new tests, the kind I am interested in to test different scenarios easily. I hope it will make it easier for people to cover their cases. Then we can also add them to 3.x and fix the 3.x branch finally too.
Comment #3
bircherComment #5
bircherComment #7
bircherthird time is the charm?
Comment #9
bircherSo that last one failed because that was a legitimate bug in the code.
Comment #10
markdorison@bircher At least we know the tests work! Nice!
Comment #12
birchernice, so now we can go back and fix things.