Skip to content

Pass Configuration to DocumentRegistry in ContainerRepositoryFactoryTest - #1011

Draft
GromNaN wants to merge 1 commit into
doctrine:5.7.xfrom
GromNaN:fix/document-registry-test
Draft

GromNaN wants to merge 1 commit into
doctrine:5.7.xfrom
GromNaN:fix/document-registry-test

Conversation

@GromNaN

@GromNaN GromNaN commented Nov 14, 2026

Copy link
Copy Markdown
Member

The DocumentRegistry constructor requires a Configuration instance since doctrine/mongodb-odm 2.18. The test created it without arguments, which made the PHPUnit jobs running against 2.18.x-dev and dev dependencies fail with ArgumentCountError.

Pass a Configuration instance, as the test already does for UnitOfWork.

@GromNaN GromNaN added this to the 5.7.0 milestone Nov 14, 2026
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.

1 participant