Updated: Comment #0
Problem/Motivation
While working on another issue, I discovered that some of \Drupal\system\Tests\Batch\ProcessingTest's tests contain broken tests: they call a helper function that contains expected messages with an incorrect parameter, and consequently they test if the empty string exists on the page, which is of course always true.
Proposed resolution
Fix + prevent this in the future.
Remaining tasks
None.
User interface changes
None.
API changes
None.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | batch_broken_tests-2158259-1.patch | 2.02 KB | wim leers |
Comments
Comment #1
wim leersComment #4
wim leers1: batch_broken_tests-2158259-1.patch queued for re-testing.
Comment #5
dawehnerPerfect, thank you!
Comment #6
chx commentedThe proposed resolution is
but I see no prevention. Which should not block the commit of this but still some future proofing would be nice (especially since it has been proposed).
Comment #7
catchYes that's worth a normal follow-up for.
Committed/pushed to 8.x, thanks!