@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace spec\Sylius\Behat\Page; |
| 4 | 4 | |
| 5 | 5 | use PhpSpec\ObjectBehavior; |
| 6 | -use Prophecy\Argument; |
|
| 7 | 6 | use SensioLabs\Behat\PageObjectExtension\PageObject\PageObject; |
| 8 | 7 | use Sylius\Behat\Page\Page; |
| 9 | 8 | |
@@ -14,7 +14,6 @@ |
||
| 14 | 14 | use Behat\Mink\Session; |
| 15 | 15 | use PhpSpec\ObjectBehavior; |
| 16 | 16 | use Sylius\Behat\Page\Admin\Product\IndexPageInterface; |
| 17 | -use Sylius\Behat\Page\Admin\Product\ProductShowPageInterface; |
|
| 18 | 17 | use Sylius\Behat\Page\SymfonyPage; |
| 19 | 18 | use Sylius\Behat\TableManipulatorInterface; |
| 20 | 19 | use Symfony\Component\Routing\RouterInterface; |
@@ -16,8 +16,6 @@ |
||
| 16 | 16 | use Sylius\Bundle\TaxonomyBundle\Form\Type\TaxonTranslationType; |
| 17 | 17 | use Sylius\Bundle\TaxonomyBundle\Form\Type\TaxonType; |
| 18 | 18 | use Sylius\Component\Resource\Factory\Factory; |
| 19 | -use Sylius\Component\Taxonomy\Factory\TaxonFactory; |
|
| 20 | -use Sylius\Component\Taxonomy\Factory\TaxonomyFactory; |
|
| 21 | 19 | use Sylius\Component\Resource\Factory\TranslatableFactory; |
| 22 | 20 | use Sylius\Component\Taxonomy\Model\Taxon; |
| 23 | 21 | use Sylius\Component\Taxonomy\Model\TaxonInterface; |
@@ -15,7 +15,6 @@ |
||
| 15 | 15 | use Doctrine\Common\Collections\Collection; |
| 16 | 16 | use Doctrine\Common\Persistence\ObjectManager; |
| 17 | 17 | use PhpSpec\ObjectBehavior; |
| 18 | -use Sylius\Component\Core\Model\PromotionInterface; |
|
| 19 | 18 | use Sylius\Component\Core\OrderProcessing\OrderRecalculatorInterface; |
| 20 | 19 | use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface; |
| 21 | 20 | use Sylius\Component\Core\Model\AddressInterface; |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | namespace Sylius\Behat\Context; |
| 13 | 13 | |
| 14 | 14 | use SensioLabs\Behat\PageObjectExtension\Context\PageObjectContext; |
| 15 | -use Sylius\Component\Core\Test\Services\SharedStorageInterface; |
|
| 16 | 15 | use Behat\MinkExtension\Context\MinkAwareContext; |
| 17 | 16 | use Behat\Mink\Mink; |
| 18 | 17 | use Behat\Mink\Session; |
@@ -12,13 +12,11 @@ |
||
| 12 | 12 | namespace spec\Sylius\Behat\Context\Setup; |
| 13 | 13 | |
| 14 | 14 | use Behat\Behat\Context\Context; |
| 15 | -use Doctrine\Common\Persistence\ObjectManager; |
|
| 16 | 15 | use PhpSpec\ObjectBehavior; |
| 17 | 16 | use Sylius\Component\Core\Model\ProductInterface; |
| 18 | 17 | use Sylius\Component\Core\Test\Services\SharedStorageInterface; |
| 19 | 18 | use Sylius\Component\Resource\Factory\FactoryInterface; |
| 20 | 19 | use Sylius\Component\Resource\Repository\RepositoryInterface; |
| 21 | -use Sylius\Component\Review\Model\ReviewerInterface; |
|
| 22 | 20 | use Sylius\Component\Review\Model\ReviewInterface; |
| 23 | 21 | |
| 24 | 22 | /** |
@@ -17,11 +17,8 @@ |
||
| 17 | 17 | use Sylius\Behat\Context\Ui\ProductContext; |
| 18 | 18 | use Sylius\Behat\Page\Admin\Product\IndexPageInterface; |
| 19 | 19 | use Sylius\Behat\Page\Admin\Product\ShowPageInterface; |
| 20 | -use Sylius\Behat\Page\Product\ProductShowPage; |
|
| 21 | -use Sylius\Behat\Page\Admin\Product\ShowPage as AdminProductShowPage; |
|
| 22 | 20 | use Sylius\Behat\Page\Product\ProductShowPageInterface; |
| 23 | 21 | use Sylius\Component\Core\Model\ProductInterface; |
| 24 | -use Sylius\Component\Core\Test\Services\SharedStorage; |
|
| 25 | 22 | use Sylius\Component\Core\Test\Services\SharedStorageInterface; |
| 26 | 23 | |
| 27 | 24 | /** |