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.
The assert message checking for the success message in drupalLogin()
uses the placeholder 'name'
instead of '%name'
. This leads to an error when the test fails (or when the message is displayed for any other reason.)
Comment | File | Size | Author |
---|---|---|---|
#8 | 2832052-8.patch | 1.25 KB | amoebanath |
Comments
Comment #2
drunken monkeyThis fixes the bug, and also two deprecated method calls in the same line.
Comment #3
Chi CreditAttribution: Chi commentedThe following code can be used to reproduce the error.
This statement becomes unused.
Comment #4
Chi CreditAttribution: Chi commentedComment #5
amoebanath CreditAttribution: amoebanath commentedComment #6
amoebanath CreditAttribution: amoebanath at ComputerMinds commentedRe-rolled!
Comment #7
Chi CreditAttribution: Chi commented@amoebanath, since we remove SafeMarkup can you check if its use statement is still needed?
Comment #8
amoebanath CreditAttribution: amoebanath at ComputerMinds commentedYep, don't need it. New patch!
Comment #9
Chi CreditAttribution: Chi commentedLooks good to me.
Comment #11
catchCommitted/pushed to 8.3.x, thanks!