Enable project testing, and add a kernel test and a source database and files fixture

Created on 21 September 2020, about 4 years ago
Updated 5 March 2024, 9 months ago

Problem/Motivation

It would be great to see this module tested with a "real" Drupal 7 migration.

Proposed resolution

Create a Drupal 7 migration fixture (with DB and files) and (at least) a kernel test that tests the expected outcome.

Remaining tasks

Must-have's:

  1. Done.
  2. Done.

Could-have's:

  1. The above for Drupal 6 → Drupal 8|9 migration
  2. A functional test that uses core's Migrate Drupal UI module
  3. A functional test that uses Migrate Upgrade and Drush

Additional info

The test will pass if you apply the following patches (sorted list):

  1. #3164697-3: migrations/d7 directory
  2. #3170195-3: Migrate conditions of type "contains"
  3. This is not required anymore.
  4. #3172154-10: Fix source plugin's undefined index issues, schema issues and unnecessary trailing whitespaces and empty lines
  5. #3172161-2: Fix the migration of option selects with groups
  6. #3172162-2: Adjust (the correct) value for webform submission's URI
  7. #3172176-2: D7 Fix the migration of nested values, multi-value field types (e.g. checkboxes) and handle 'grid' type submission values
  8. #3172417-5: [PP-1] d7_webform_submissions migrates uid without using migration lookup
📌 Task
Status

Needs review

Version

2.0

Component

Code

Created by

🇭🇺Hungary huzooka Hungary 🇭🇺🇪🇺

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024