Add content in migrate UI functional tests only when needed

Created on 25 February 2022, over 2 years ago
Updated 9 May 2024, about 1 month ago

Problem/Motivation

This a followup to #3087061: Move existing assertions of IdConflict page to new test files β†’ .

The Upgrade tests adds content for testing the IdConflict form. There are now new tests just for that page and the Upgrade tests should not be adding content before the migration because migrations should run on an fresh install.

Steps to reproduce

Proposed resolution

Remove the creation of content before the upgrade.

This issue was already RTBC when #3259355: Always do a full phpstan analysis on DrupalCI β†’ was committed, so update code/phpstan-baseline.neon to allow a few more instances of an existing PHPStan exception. (See #17 and #18 for more details.) The problem comes from a trait that this issue adds in two more places, so this issue does not make it much harder to fix it.

Remaining tasks

Keep patch up to date
Commit

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Needs work

Version

11.0 πŸ”₯

Component
MigrationΒ  β†’

Last updated about 17 hours ago

Created by

πŸ‡³πŸ‡ΏNew Zealand quietone New Zealand

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Merge Requests

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.69.0 2024