Skip to content

Conversation

@michalsn
Copy link
Member

Description
This PR fixes the Seeder behavior where calling Database::seeder('tests') did not respect the selected database group and always used the default one.

With this change, seeders are now handled in the same way as migrations, ensuring the correct database group is used.

Fixes #9885

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value (without duplication)
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@R-W-C
Copy link

R-W-C commented Jan 16, 2026

Thank you.

@paulbalandan paulbalandan added the bug Verified issues on the current code behavior or pull requests that will fix them label Jan 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Verified issues on the current code behavior or pull requests that will fix them

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: DB Seeder may use wrong DB connection during testing

3 participants