-
-
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
[Behat] Rework default channel factories #4138
[Behat] Rework default channel factories #4138
Conversation
@@ -9,8 +9,9 @@ default: | |||
entityManager: "@doctrine.orm.entity_manager" | |||
|
|||
- Sylius\Behat\Context\Setup\ChannelContext: | |||
defaultFranceChannelFactory: "@sylius.behat.factory.default_france_channel" | |||
defaultChannelFactory: "@sylius.behat.factory.default_channel" | |||
sharedStorage: "@sylius.behat.shared_storage" |
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.
If some context uses SharedStorage
, can we pass it as the first argument?
As you're messing with channel factories, I have a dream... that |
b5b57e8
to
7ccd0e5
Compare
Sure, |
7ccd0e5
to
a96636c
Compare
a96636c
to
b8c48f0
Compare
b8c48f0
to
88682cb
Compare
…-factories [Behat] Rework default channel factories
Thank you Mateusz! |
According to mentioned issue, there are now two default channel factories:
DefaultChannelFactory
creating only empty Default channelDefaultFranceChannelFactory
creating France channel, with EUR as default currency, France shipping country and proper zone with zone member