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.
MigrateDrupal6Test, which is meant to do a full integration test of a complete Drupal 6 site migration, is not using builders and thus not testing that capability and letting issues like #2552277: Migration d6_comment did not meet the requirements. through. We need to add builders in there to do a proper integration test. There are other issues with this test (e.g., skipping setUp() for individual test classes misses some setup that is needed for both the individual and full test cases), so maybe this should be part of a general refactoring...
Comment | File | Size | Author |
---|---|---|---|
#3 | migratedrupal6test-2553943-3.patch | 967 bytes | mikeryan |
Comments
Comment #2
mikeryanEven the simple addition of builders to MigrateDrupalTestBase::installMigrations() is going to be challenging - right off the bat it's revealing missing schema for d6_term_node, and I'm sure there'll be any number of similar issues unveiled here. So, unless we want to fix all issues this reveals in one patch, we'll have a chicken-and-egg problem - we can't have a patch narrowly focused on fixing the test until all related issues are fixed, and those issues can't have tests without this fix, unless we were to temporarily write hacky tests for the individual issues...
Comment #3
mikeryanThe simple add-the-builder-step patch...
Comment #4
phenaproximaThis is covered by #2549013: Remove load plugins, so closing this one as a duplicate.