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.
In preparation of #1205458: Move modules/themes/libraries/files/private directories out of /sites/example.com, we'll need tests to ensure that a site's directories actually get backed up and redeployed, which we aren't doing currently. The attached patch adds two helper functions:
- drush_provision_tests_dl_module_to_site(), and
- drush_provision_tests_en_module_on_site()
Basically, it inserts them into the migration tests, downloading the 'token' module to the test site's modules directory just before migration, then attempts to enable the module after migration.
Comment | File | Size | Author |
---|---|---|---|
add_site_dir_tests.patch | 3.04 KB | ergonlogic |
Comments
Comment #1
ergonlogicThere's a patch attached that needs review :)
Comment #2
anarcat CreditAttribution: anarcat commentedi merged this in since this is just good extra tests.