-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Added account verification option to fixture parser #9616
Conversation
@@ -40,7 +40,7 @@ protected function configureResourceNode(ArrayNodeDefinition $resourceNode): voi | |||
->scalarNode('tax_calculation_strategy')->end() | |||
->booleanNode('enabled')->end() | |||
->booleanNode('skipping_shipping_step_allowed')->end() | |||
->booleanNode('skipping_payment_step_allowed')->end() |
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.
Removing skipping_payment_step_allowed
looks wrong, did you do it by mistake?
@@ -41,6 +41,7 @@ protected function configureResourceNode(ArrayNodeDefinition $resourceNode): voi | |||
->booleanNode('enabled')->end() | |||
->booleanNode('skipping_shipping_step_allowed')->end() | |||
->booleanNode('skipping_payment_step_allowed')->end() | |||
->booleanNode('account_verification_required')->defaultTrue()->end() |
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.
We handle the default values in OptionsResolver
in the example factory, could you remove ->defaultTrue()
here and customise configureOptions
method in ChannelExampleFactory
?
Thank you, @mamazu! 🎉 |
Well, we need it for our shop, but you are welcome. 😆 |
In this pull request the switch for account verification in the channel entity is now configurable in the Sylius fixtures.