@@ -14,19 +14,19 @@ |
||
| 14 | 14 | use Behat\Behat\Context\Context; |
| 15 | 15 | use Doctrine\Common\Persistence\ObjectManager; |
| 16 | 16 | use SM\Factory\FactoryInterface as StateMachineFactoryInterface; |
| 17 | +use Sylius\Component\Core\Model\AddressInterface; |
|
| 17 | 18 | use Sylius\Component\Core\Model\ChannelInterface; |
| 18 | 19 | use Sylius\Component\Core\Model\CouponInterface; |
| 19 | -use Sylius\Component\Core\OrderProcessing\OrderRecalculatorInterface; |
|
| 20 | -use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface; |
|
| 21 | -use Sylius\Component\Core\Model\AddressInterface; |
|
| 22 | 20 | use Sylius\Component\Core\Model\OrderInterface; |
| 23 | 21 | use Sylius\Component\Core\Model\OrderItemInterface; |
| 24 | 22 | use Sylius\Component\Core\Model\ProductInterface; |
| 25 | 23 | use Sylius\Component\Core\Model\ProductVariantInterface; |
| 26 | 24 | use Sylius\Component\Core\Model\ShippingMethodInterface; |
| 25 | +use Sylius\Component\Core\OrderProcessing\OrderRecalculatorInterface; |
|
| 27 | 26 | use Sylius\Component\Core\OrderProcessing\OrderShipmentProcessorInterface; |
| 28 | 27 | use Sylius\Component\Core\Repository\OrderRepositoryInterface; |
| 29 | 28 | use Sylius\Component\Core\Test\Services\SharedStorageInterface; |
| 29 | +use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface; |
|
| 30 | 30 | use Sylius\Component\Order\OrderTransitions; |
| 31 | 31 | use Sylius\Component\Payment\Factory\PaymentFactoryInterface; |
| 32 | 32 | use Sylius\Component\Payment\Model\PaymentInterface; |
@@ -18,7 +18,6 @@ |
||
| 18 | 18 | use Sylius\Component\Core\Model\ShippingMethodInterface; |
| 19 | 19 | use Sylius\Component\Core\Test\Services\SharedStorageInterface; |
| 20 | 20 | use Sylius\Component\Resource\Factory\FactoryInterface; |
| 21 | -use Sylius\Component\Resource\Repository\RepositoryInterface; |
|
| 22 | 21 | use Sylius\Component\Shipping\Calculator\DefaultCalculators; |
| 23 | 22 | use Sylius\Component\Shipping\Repository\ShippingMethodRepositoryInterface; |
| 24 | 23 | use Sylius\Component\Taxation\Model\TaxCategoryInterface; |
@@ -12,8 +12,8 @@ |
||
| 12 | 12 | namespace Sylius\Behat\Context\Ui\Admin; |
| 13 | 13 | |
| 14 | 14 | use Behat\Behat\Context\Context; |
| 15 | -use Sylius\Behat\Page\Admin\Crud\UpdatePageInterface; |
|
| 16 | 15 | use Sylius\Behat\Page\Admin\Crud\IndexPageInterface; |
| 16 | +use Sylius\Behat\Page\Admin\Crud\UpdatePageInterface; |
|
| 17 | 17 | use Sylius\Behat\Page\Admin\Customer\CreatePageInterface; |
| 18 | 18 | use Sylius\Component\User\Model\CustomerInterface; |
| 19 | 19 | use Webmozart\Assert\Assert; |
@@ -13,18 +13,18 @@ |
||
| 13 | 13 | |
| 14 | 14 | use Behat\Behat\Context\Context; |
| 15 | 15 | use Sylius\Behat\Page\Shop\Checkout\AddressingPageInterface; |
| 16 | -use Sylius\Behat\Page\Shop\Checkout\PaymentPageInterface; |
|
| 17 | -use Sylius\Behat\Page\Shop\Checkout\ShippingPageInterface; |
|
| 18 | -use Sylius\Behat\Page\Shop\Checkout\SummaryPageInterface; |
|
| 19 | -use Sylius\Behat\Page\Shop\Order\OrderPaymentsPageInterface; |
|
| 20 | 16 | use Sylius\Behat\Page\Shop\Checkout\AddressingStepInterface; |
| 21 | 17 | use Sylius\Behat\Page\Shop\Checkout\FinalizeStepInterface; |
| 18 | +use Sylius\Behat\Page\Shop\Checkout\PaymentPageInterface; |
|
| 22 | 19 | use Sylius\Behat\Page\Shop\Checkout\PaymentStepInterface; |
| 23 | 20 | use Sylius\Behat\Page\Shop\Checkout\SecurityStepInterface; |
| 21 | +use Sylius\Behat\Page\Shop\Checkout\ShippingPageInterface; |
|
| 24 | 22 | use Sylius\Behat\Page\Shop\Checkout\ShippingStepInterface; |
| 23 | +use Sylius\Behat\Page\Shop\Checkout\SummaryPageInterface; |
|
| 25 | 24 | use Sylius\Behat\Page\Shop\Checkout\ThankYouPageInterface; |
| 26 | -use Sylius\Component\Core\Formatter\StringInflector; |
|
| 25 | +use Sylius\Behat\Page\Shop\Order\OrderPaymentsPageInterface; |
|
| 27 | 26 | use Sylius\Behat\Service\SecurityServiceInterface; |
| 27 | +use Sylius\Component\Core\Formatter\StringInflector; |
|
| 28 | 28 | use Sylius\Component\Core\Model\AddressInterface; |
| 29 | 29 | use Sylius\Component\Core\Model\OrderInterface; |
| 30 | 30 | use Sylius\Component\Core\Model\ProductInterface; |
@@ -12,8 +12,8 @@ |
||
| 12 | 12 | namespace Sylius\Behat\Context\Ui; |
| 13 | 13 | |
| 14 | 14 | use Behat\Behat\Context\Context; |
| 15 | -use Sylius\Behat\Page\Shop\Checkout\FinalizeStepInterface; |
|
| 16 | 15 | use Sylius\Behat\Page\External\PaypalExpressCheckoutPageInterface; |
| 16 | +use Sylius\Behat\Page\Shop\Checkout\FinalizeStepInterface; |
|
| 17 | 17 | use Sylius\Behat\Page\Shop\Order\OrderPaymentsPageInterface; |
| 18 | 18 | use Sylius\Behat\Service\Mocker\PaypalApiMocker; |
| 19 | 19 | use Sylius\Component\Core\Model\OrderInterface; |
@@ -18,8 +18,8 @@ |
||
| 18 | 18 | use Behat\Testwork\Environment\Handler\EnvironmentHandler; |
| 19 | 19 | use Behat\Testwork\Suite\Exception\SuiteConfigurationException; |
| 20 | 20 | use Behat\Testwork\Suite\Suite; |
| 21 | -use Sylius\Behat\Extension\MultiContainerExtension\Context\Environment\UninitializedContextServiceEnvironment; |
|
| 22 | 21 | use Sylius\Behat\Extension\MultiContainerExtension\ContextRegistry; |
| 22 | +use Sylius\Behat\Extension\MultiContainerExtension\Context\Environment\UninitializedContextServiceEnvironment; |
|
| 23 | 23 | use Symfony\Component\DependencyInjection\ContainerInterface; |
| 24 | 24 | |
| 25 | 25 | /** |
@@ -15,15 +15,15 @@ |
||
| 15 | 15 | use Symfony\Component\Config\FileLocatorInterface; |
| 16 | 16 | use Symfony\Component\Config\Resource\FileResource; |
| 17 | 17 | use Symfony\Component\Config\Util\XmlUtils; |
| 18 | +use Symfony\Component\DependencyInjection\Alias; |
|
| 18 | 19 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
| 19 | -use Symfony\Component\DependencyInjection\DefinitionDecorator; |
|
| 20 | 20 | use Symfony\Component\DependencyInjection\ContainerInterface; |
| 21 | -use Symfony\Component\DependencyInjection\Alias; |
|
| 22 | 21 | use Symfony\Component\DependencyInjection\Definition; |
| 23 | -use Symfony\Component\DependencyInjection\Loader\FileLoader; |
|
| 24 | -use Symfony\Component\DependencyInjection\Reference; |
|
| 22 | +use Symfony\Component\DependencyInjection\DefinitionDecorator; |
|
| 25 | 23 | use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; |
| 26 | 24 | use Symfony\Component\DependencyInjection\Exception\RuntimeException; |
| 25 | +use Symfony\Component\DependencyInjection\Loader\FileLoader; |
|
| 26 | +use Symfony\Component\DependencyInjection\Reference; |
|
| 27 | 27 | use Symfony\Component\ExpressionLanguage\Expression; |
| 28 | 28 | |
| 29 | 29 | /** |
@@ -16,8 +16,8 @@ |
||
| 16 | 16 | use Behat\Testwork\ServiceContainer\Extension; |
| 17 | 17 | use Behat\Testwork\ServiceContainer\ExtensionManager; |
| 18 | 18 | use Sylius\Behat\Extension\MultiContainerExtension\ContainerConfiguration; |
| 19 | -use Sylius\Behat\Extension\MultiContainerExtension\Context\Environment\Handler\ContextServiceEnvironmentHandler; |
|
| 20 | 19 | use Sylius\Behat\Extension\MultiContainerExtension\ContextRegistry; |
| 20 | +use Sylius\Behat\Extension\MultiContainerExtension\Context\Environment\Handler\ContextServiceEnvironmentHandler; |
|
| 21 | 21 | use Sylius\Behat\Extension\MultiContainerExtension\Loader\XmlFileLoader; |
| 22 | 22 | use Sylius\Behat\Extension\MultiContainerExtension\ScopeManipulator; |
| 23 | 23 | use Symfony\Bridge\ProxyManager\LazyProxy\Instantiator\RuntimeInstantiator; |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | namespace Sylius\Behat\Page\Admin\Customer; |
| 13 | 13 | |
| 14 | 14 | use Sylius\Behat\Page\SymfonyPage; |
| 15 | -use Webmozart\Assert\Assert; |
|
| 16 | 15 | |
| 17 | 16 | /** |
| 18 | 17 | * @author Magdalena Banasiak <[email protected]> |