Closed (fixed)
Project:
Drupal core
Version:
9.1.x-dev
Component:
system.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Mar 2021 at 09:30 UTC
Updated:
6 May 2021 at 14:49 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
paulocsComment #3
adalbertov commentedHello folks, just checked this issue. After the patch the summary return looks better. Since the code is fine for me, I'm moving the issue to RTBC
Comment #4
joachim commentedNitpick: you can check for empty before the implode().
Second nitpick: I think that configuration is usually talked about in the present tense, rather than past tense? I don't see anything about that in https://www.drupal.org/docs/develop/user-interface-standards/interface-text though.
Comment #5
catchThis could also use some test coverage.
Comment #6
paulocsOk, I'll provide a new patch.
Comment #7
paulocsComment #9
guilhermevp commentedTest-only patch returns specific error, and patch works as intended.
Moving to RTBC.
Comment #10
guilhermevp commentedComment #11
catchI don't think we need the custom assertion message here - can just use phpunit's default one.
Comment #12
paulocsI removed the custom message parameter in the
$this->assertEqualsfunction.Comment #13
thallesComment #15
catchCommitted/pushed to 9.2.x and cherry-picked to 9.1.x, thanks!