Problem/Motivation
#2301317: MenuLinkNG part4: Conversion added title attributes to modules' Configure links, but forgot to set route parameters on route objects before getting their titles. \Drupal\system\Form\ModulesListFormWebTest should have caught this, but didn't. This problem can be reproduced by installing Payment's submodules and going to admin/modules.
Proposed resolution
Set route parameters on the route object before getting its title.
Remaining tasks
None.
User interface changes
None.
API changes
None.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | drupal_2322933_5.patch | 2.65 KB | xano |
| #5 | interdiff.txt | 633 bytes | xano |
Comments
Comment #1
xanoI'll have to look into test coverage, but at least this fix illustrates what was wrong.
Comment #3
xanoComment #4
dawehnerIt would be cool to though still check in
ModulesListFormWebTestthat the link is generated with the proper title.Comment #5
xanoXano ♥ XPath
Comment #6
dawehnerJust in case you didn't knew there is $this->cssSelect() for other tests available.
Comment #7
alexpottCommitted f3c0bc0 and pushed to 8.0.x. Thanks!