-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[FrameworkBundle] Fix validation configuration default test case #26782
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
Conversation
9efb3b8
to
f336725
Compare
@@ -259,7 +260,7 @@ class_exists(SemaphoreStore::class) && SemaphoreStore::isSupported() ? 'semaphor | |||
'entity_manager_name' => null, | |||
), | |||
'validation' => array( | |||
'enabled' => false, | |||
'enabled' => !class_exists(FullStack::class) && class_exists(Validation::class), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should only be !class_exists(FullStack::class)
as for other configurations. Which makes sense as the Validator component is always available in tests, being part of the require-dev
section :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hehe. I was pushing this change. Done 🙃
364288c
to
4486734
Compare
4486734
to
235e037
Compare
Thank you @sroze. |
…est case (sroze) This PR was merged into the 4.1-dev branch. Discussion ---------- [FrameworkBundle] Fix validation configuration default test case | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | ø | License | MIT This test case wasn't updated after a change in the PR to automatically enable the validation middleware based on the interface. Commits ------- 235e037 Fix validation configuration default test case
Thank you. Sorry for missing this. |
This test case wasn't updated after a change in the PR to automatically enable the validation middleware based on the interface.