diff --git a/ecs.php b/ecs.php index c1269f69..93511628 100644 --- a/ecs.php +++ b/ecs.php @@ -15,7 +15,6 @@ $ecsConfig->paths([ 'src', - 'tests/Akeneo', 'tests/Behat', 'tests/InMemory', 'tests/Integration', diff --git a/tests/Behat/Context/Setup/AkeneoProductContext.php b/tests/Behat/Context/Setup/AkeneoProductContext.php index 9df6396b..9d9bf931 100644 --- a/tests/Behat/Context/Setup/AkeneoProductContext.php +++ b/tests/Behat/Context/Setup/AkeneoProductContext.php @@ -8,8 +8,6 @@ use DateTime; use Tests\Webgriffe\SyliusAkeneoPlugin\InMemory\Client\Api\InMemoryProductApi; use Tests\Webgriffe\SyliusAkeneoPlugin\InMemory\Client\Api\Model\Product; -use Tests\Webgriffe\SyliusAkeneoPlugin\InMemory\Client\InMemoryAkeneoPimClient; -use Webmozart\Assert\Assert; final class AkeneoProductContext implements Context { diff --git a/tests/Integration/AttributeOptions/ImporterTest.php b/tests/Integration/AttributeOptions/ImporterTest.php index d0a94a20..f837160c 100644 --- a/tests/Integration/AttributeOptions/ImporterTest.php +++ b/tests/Integration/AttributeOptions/ImporterTest.php @@ -10,12 +10,12 @@ use Sylius\Component\Product\Model\ProductAttributeInterface; use Sylius\Component\Resource\Repository\RepositoryInterface; use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase; +use Tests\Webgriffe\SyliusAkeneoPlugin\DataFixtures\DataFixture; use Tests\Webgriffe\SyliusAkeneoPlugin\InMemory\Client\Api\InMemoryAttributeApi; use Tests\Webgriffe\SyliusAkeneoPlugin\InMemory\Client\Api\InMemoryAttributeOptionApi; use Tests\Webgriffe\SyliusAkeneoPlugin\InMemory\Client\Api\Model\Attribute; use Tests\Webgriffe\SyliusAkeneoPlugin\InMemory\Client\Api\Model\AttributeOption; use Tests\Webgriffe\SyliusAkeneoPlugin\InMemory\Client\Api\Model\AttributeType; -use Tests\Webgriffe\SyliusAkeneoPlugin\DataFixtures\DataFixture; use Webgriffe\SyliusAkeneoPlugin\ImporterInterface; final class ImporterTest extends KernelTestCase diff --git a/tests/Integration/Product/ImporterTest.php b/tests/Integration/Product/ImporterTest.php index e178ed3c..eb4da501 100644 --- a/tests/Integration/Product/ImporterTest.php +++ b/tests/Integration/Product/ImporterTest.php @@ -16,6 +16,7 @@ use Sylius\Component\Product\Model\ProductOptionValueInterface; use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase; use Symfony\Component\Filesystem\Filesystem; +use Tests\Webgriffe\SyliusAkeneoPlugin\DataFixtures\DataFixture; use Tests\Webgriffe\SyliusAkeneoPlugin\InMemory\Client\Api\InMemoryAttributeApi; use Tests\Webgriffe\SyliusAkeneoPlugin\InMemory\Client\Api\InMemoryAttributeOptionApi; use Tests\Webgriffe\SyliusAkeneoPlugin\InMemory\Client\Api\InMemoryFamilyApi; @@ -29,7 +30,6 @@ use Tests\Webgriffe\SyliusAkeneoPlugin\InMemory\Client\Api\Model\FamilyVariant; use Tests\Webgriffe\SyliusAkeneoPlugin\InMemory\Client\Api\Model\Product; use Tests\Webgriffe\SyliusAkeneoPlugin\InMemory\Client\Api\Model\ProductModel; -use Tests\Webgriffe\SyliusAkeneoPlugin\DataFixtures\DataFixture; use Webgriffe\SyliusAkeneoPlugin\ImporterInterface; final class ImporterTest extends KernelTestCase diff --git a/tests/Integration/ProductAssociations/ImporterTest.php b/tests/Integration/ProductAssociations/ImporterTest.php index 306901f0..94003136 100644 --- a/tests/Integration/ProductAssociations/ImporterTest.php +++ b/tests/Integration/ProductAssociations/ImporterTest.php @@ -10,9 +10,9 @@ use Sylius\Component\Core\Model\ProductInterface; use Sylius\Component\Core\Repository\ProductRepositoryInterface; use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase; +use Tests\Webgriffe\SyliusAkeneoPlugin\DataFixtures\DataFixture; use Tests\Webgriffe\SyliusAkeneoPlugin\InMemory\Client\Api\InMemoryProductApi; use Tests\Webgriffe\SyliusAkeneoPlugin\InMemory\Client\Api\Model\Product; -use Tests\Webgriffe\SyliusAkeneoPlugin\DataFixtures\DataFixture; use Webgriffe\SyliusAkeneoPlugin\ImporterInterface; final class ImporterTest extends KernelTestCase