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
simpletest_generate_file()
is unused in core.
Proposed resolution
Deprecate simpletest_generate_file()
formally.
Replaced by Drupal\Tests\TestFileCreationTrait
.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#8 | 3028708_8.patch | 1.9 KB | Mile23 |
Comments
Comment #2
Mile23Comment #3
Mile23Comment #4
Mile23Comment #5
Mile23Comment #7
Mile23CR for this issue and #2738567: Add test trait for drupalGetTestFiles and drupalCompareFile : https://www.drupal.org/node/3077768
Comment #8
Mile23Comment #9
Mile23Comment #10
kim.pepperLGTM 👍
Comment #11
alexpottStrictly this is unnecessary because we remove all files as far as I know. But can't hurt so /shrug.
Committed a99b54f and pushed to 8.8.x. Thanks!
Comment #14
quietone CreditAttribution: quietone at PreviousNext commentedpublish the change record