@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\Form\FormBuilder; |
6 | 6 | use Symfony\Component\Form\FormEvents; |
7 | - |
|
8 | 7 | use OroCRM\Bundle\MagentoBundle\Form\Type\CustomerType; |
9 | 8 | |
10 | 9 | class CustomerTypeTest extends \PHPUnit_Framework_TestCase |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Tests\Unit\Importexport\Processor; |
4 | 4 | |
5 | 5 | use Oro\Bundle\ImportExportBundle\Context\ContextInterface; |
6 | - |
|
7 | 6 | use OroCRM\Bundle\MagentoBundle\ImportExport\Converter\NewsletterSubscriberDataConverter; |
8 | 7 | |
9 | 8 | class NewsletterSubscriberDataConverterTest extends \PHPUnit_Framework_TestCase |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\PropertyAccess\PropertyAccess; |
6 | 6 | use Symfony\Component\Serializer\SerializerInterface; |
7 | - |
|
8 | 7 | use Oro\Bundle\ImportExportBundle\Context\ContextInterface; |
9 | 8 | use Oro\Bundle\ImportExportBundle\Strategy\StrategyInterface; |
10 | 9 | use OroCRM\Bundle\MagentoBundle\ImportExport\Processor\ContextProcessor; |
@@ -3,9 +3,7 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Test\Unit\ImportExport\Serializer\Normalizer; |
4 | 4 | |
5 | 5 | use Symfony\Component\PropertyAccess\PropertyAccess; |
6 | - |
|
7 | 6 | use Oro\Bundle\ImportExportBundle\Field\FieldHelper; |
8 | - |
|
9 | 7 | use OroCRM\Bundle\MagentoBundle\Entity\Cart; |
10 | 8 | use OroCRM\Bundle\MagentoBundle\Entity\Order; |
11 | 9 | use OroCRM\Bundle\MagentoBundle\ImportExport\Serializer\Normalizer\PaymentDetailsNormalizer; |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Oro\Bundle\ImportExportBundle\Context\ContextInterface; |
6 | 6 | use Oro\Bundle\IntegrationBundle\Entity\Channel; |
7 | - |
|
8 | 7 | use OroCRM\Bundle\MagentoBundle\Entity\Cart; |
9 | 8 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
10 | 9 | use OroCRM\Bundle\MagentoBundle\ImportExport\Strategy\CartWithExistingCustomerStrategy; |
@@ -3,9 +3,7 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Tests\Unit\ImportExport\Writer; |
4 | 4 | |
5 | 5 | use Akeneo\Bundle\BatchBundle\Item\ItemWriterInterface; |
6 | - |
|
7 | 6 | use Oro\Bundle\ImportExportBundle\Field\DatabaseHelper; |
8 | - |
|
9 | 7 | use OroCRM\Bundle\MagentoBundle\Entity\Cart; |
10 | 8 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
11 | 9 | use OroCRM\Bundle\MagentoBundle\Entity\Order; |
@@ -4,9 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\Persistence\ManagerRegistry; |
6 | 6 | use Doctrine\ORM\EntityManager; |
7 | - |
|
8 | 7 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
9 | - |
|
10 | 8 | use Oro\Bundle\ImportExportBundle\Job\JobResult; |
11 | 9 | use Oro\Bundle\ImportExportBundle\Processor\ProcessorRegistry; |
12 | 10 | use Oro\Bundle\IntegrationBundle\Entity\Channel; |
@@ -3,11 +3,8 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Tests\Unit\Provider; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | - |
|
7 | 6 | use Symfony\Component\HttpFoundation\ParameterBag; |
8 | - |
|
9 | 7 | use Oro\Bundle\IntegrationBundle\Entity\Channel; |
10 | - |
|
11 | 8 | use OroCRM\Bundle\MagentoBundle\Provider\CartExpirationProcessor; |
12 | 9 | use OroCRM\Bundle\MagentoBundle\Provider\Transport\SoapTransport; |
13 | 10 | use Oro\Bundle\IntegrationBundle\Provider\ConnectorContextMediator; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Tests\Unit\Provider; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Collections\ArrayCollection; |
6 | - |
|
7 | 6 | use Oro\Bundle\EntityBundle\ORM\DoctrineHelper; |
8 | 7 | use OroCRM\Bundle\MagentoBundle\Command\InitialSyncCommand; |
9 | 8 | use OroCRM\Bundle\MagentoBundle\Entity\MagentoSoapTransport; |
@@ -383,6 +383,7 @@ |
||
383 | 383 | |
384 | 384 | /** |
385 | 385 | * {@inheritdoc} |
386 | + * @param \PHPUnit_Framework_MockObject_MockObject $realConnector |
|
386 | 387 | */ |
387 | 388 | protected function getIntegration(array $connectors = [], \DateTime $syncStartDate = null, $realConnector = null) |
388 | 389 | { |