Skip to content
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

Assert existence of each plugin at testBootstrap #868

Merged
merged 2 commits into from
Nov 10, 2021

Conversation

nishimura-d
Copy link
Contributor

fixes #867

PluginCollection::get() creates the plugin if not added, so it was nonsense.

And don't assert count of plugins.

fixes cakephp#867

PluginCollection::get() creates the plugin if not added,
so it was nonsense.
The existence of each necessary plugin is asserted.
No need to assert that other plugins are not added.
It's hard to maintain the count.
@saeideng saeideng added this to the 4.x milestone Nov 10, 2021
@ADmad ADmad merged commit 66a57ad into cakephp:4.x Nov 10, 2021
@nishimura-d nishimura-d deleted the issue-867-test-bootstrap branch November 10, 2021 09:01
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.

ApplicationTest::testBootstrap() doesn't test existence of each plugin
3 participants