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.
Problem/Motivation
BookInstallTest
makes no HTTP requests but is a functional test
Proposed resolution
Convert BookInstallTest
into a Kernel test
Remaining tasks
None.
User interface changes
None.
API changes
None.
Data model changes
None.
Release notes snippet
N/A
Comment | File | Size | Author |
---|---|---|---|
#5 | interdiff_2-5.txt | 562 bytes | vadim.hirbu |
#5 | 3046694-5.patch | 2.61 KB | vadim.hirbu |
#2 | 3046694-2.patch | 2.57 KB | claudiu.cristea |
Comments
Comment #2
claudiu.cristeaThis patch decreases the locally test run from 7.4 to 2.4 seconds.
Comment #3
LendudeGood addition.
Good clean up and conversion, I see no possible loss of coverage.
Comment #4
catchThe assertion should have a message I think 'Book module installed successfully' or similar. Otherwise this looks good.
Comment #5
vadim.hirbu CreditAttribution: vadim.hirbu at FFW commentedJust added message recommended in latest comment.
Comment #6
naveenvalechaGood to RTBC
Comment #7
alexpottCommitted and pushed 46d96a4066 to 8.8.x and ee9ba65243 to 8.7.x. Thanks!
Credited @catch and @Lendude for issue comments that reviewed the patch and influenced it.
Comment #9
alexpott