Skip to content

fix: phpunit bootstrap plugin install order#48

Closed
Lars Kemper (larskemper) wants to merge 1 commit into
trunkfrom
fix/phpunit-bootstrap-plugin-install
Closed

fix: phpunit bootstrap plugin install order#48
Lars Kemper (larskemper) wants to merge 1 commit into
trunkfrom
fix/phpunit-bootstrap-plugin-install

Conversation

@larskemper

@larskemper Lars Kemper (larskemper) commented May 12, 2026

Copy link
Copy Markdown
Member

Fixes nightly phpunit bootstrap failing cause of changes in platform shopware/shopware#16674

Shopware changed TestBootstrapper::installPlugins() to install all active plugins in a single plugin:install call. With both SwagMigrationAssistant and SwagMigrationMagento passed together, the lifecycle command falls back to fuzzy matching, finds both SwagMigration* plugins, and prompts for interactive input during phpunit.

This installs the assistant first and then force-installs the calling plugin separately, keeping both plugin install calls exact.

@keulinho Jonas Elfering (keulinho) left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait this is a side effect i didn't expect with the core change 🤔

it shoud work OOTB, i guess i missed that the plugin install falls back to interactive when you install multiple in one call let me fix this in core

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants