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.
Found in #3063887: Support PHPUnit 8 in Drupal 9, drop support for PHPUnit 7.
Problem/Motivation
MigrateExecutableMemoryExceededTest has mock expectation fails in PHPUnit8 due to inconsistent matches(). This is due to a string being compared to a TranslatableMarkup object within a stringContains
constraint in the mock.
Proposed resolution
Change the stringContains
constraint into an appropriate callback.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#2 | 3102903-2.patch | 1.13 KB | mondrake |
Comments
Comment #2
mondrakePatch.
Comment #3
heddnSeems reasonable. Thanks for fixing this up.
Comment #4
alexpottCommitted and pushed dda035c260 to 9.0.x and da130569cb to 8.9.x and 8130c365bc to 8.8.x. Thanks!
Backported to 8.8.x as this is a test-only fix.
Fixed coding standards on commit.