Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[DoctrineBridge] Test reset with a true manager #57483

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

MatTheCat
Copy link
Contributor

@MatTheCat MatTheCat commented Jun 21, 2024

Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
Issues N/A
License MIT

Now that assertions were added to the AbstractManagerRegistry, the ManagerRegistryTest must register instances of ObjectManager to avoid tests failing with

assert(): assert($service instanceof ObjectManager) failed

Changes mostly come from #48484 but the ProxyManager is still used on 5.4, so beware when merging this in 6.4.

@MatTheCat
Copy link
Contributor Author

MatTheCat commented Jun 21, 2024

How can I make high-deps tests pass? 🤔

@MatTheCat MatTheCat force-pushed the reset-manager-test branch 2 times, most recently from a69f82d to e5e9457 Compare June 21, 2024 13:28
@MatTheCat MatTheCat force-pushed the reset-manager-test branch from e5e9457 to 79b03db Compare June 21, 2024 13:42
@xabbuh
Copy link
Member

xabbuh commented Jun 21, 2024

Thank you @MatTheCat.

@xabbuh xabbuh merged commit e3af3f1 into symfony:5.4 Jun 21, 2024
8 of 12 checks passed
@MatTheCat MatTheCat deleted the reset-manager-test branch June 21, 2024 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants