Problem/Motivation
Followup to #1624278: cleanup of docblock to UI text in update_get_update_list() is weak.
Convert \Drupal\Tests\system\Functional\UpdateSystem\UpdateDescriptionTest to a Unit test.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 3210502-3.patch | 3.71 KB | longwave |
Comments
Comment #2
quietone commentedComment #3
longwaveConverting this to a unit test required mocking a number of services, it seems easier to make this a kernel test and then we can allow modules to be installed.
Comment #4
spokje- New test is green.
- New test basically tests for the same thing, but without the overhead of a
BrowserTestBase- All things done in the original test besides the 2 assertions on return messages from Update Manager weren't asserted, and are all covered in the remaining
BrowserTestBasetests for Update Manager.- Makes sense.
RTBC for me.
Comment #7
catchNice find!
Committed/pushed to 9.2.x and cherry-picked to 9.1.x, thanks!
Comment #8
joachim commented