Skip to content

Commit

Permalink
Remove unnecessary context
Browse files Browse the repository at this point in the history
  • Loading branch information
arti0090 committed Dec 2, 2020
1 parent 31229b1 commit f7bb7fe
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 44 deletions.
37 changes: 0 additions & 37 deletions src/Sylius/Behat/Context/Api/Shop/ChannelContext.php

This file was deleted.

2 changes: 1 addition & 1 deletion src/Sylius/Behat/Context/Setup/ChannelContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ final class ChannelContext implements Context
/** @var SharedStorageInterface */
private $sharedStorage;


/** @var ChannelContextSetterInterface */
private $channelContextSetter;

Expand All @@ -40,6 +39,7 @@ final class ChannelContext implements Context

/** @var DefaultChannelFactoryInterface */
private $defaultChannelFactory;

/** @var ChannelRepositoryInterface */
private $channelRepository;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@
<argument type="service" id="Sylius\Behat\Client\ResponseCheckerInterface" />
</service>

<service id="sylius.behat.context.api.shop.channel" class="Sylius\Behat\Context\Api\Shop\ChannelContext">
<argument type="service" id="sylius.behat.shared_storage" />
</service>

<service id="sylius.behat.context.api.shop.checkout" class="Sylius\Behat\Context\Api\Shop\CheckoutContext">
<argument type="service" id="test.client" />
<argument type="service" id="sylius.behat.api_platform_client.shop.order" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ default:

- sylius.behat.context.api.shop.cart
- sylius.behat.context.api.shop.checkout
- sylius.behat.context.api.shop.channel
- sylius.behat.context.api.shop.login
- sylius.behat.context.api.shop.order

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ default:
- sylius.behat.context.setup.product
- sylius.behat.context.setup.taxonomy

- sylius.behat.context.api.shop.channel
- sylius.behat.context.api.shop.homepage

filters:
Expand Down

0 comments on commit f7bb7fe

Please sign in to comment.