@@ -5,7 +5,6 @@ |
||
5 | 5 | use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; |
6 | 6 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
7 | 7 | use Symfony\Component\DependencyInjection\Reference; |
8 | - |
|
9 | 8 | use Oro\Bundle\IntegrationBundle\DependencyInjection\CompilerPass\ProcessorsPass; |
10 | 9 | |
11 | 10 | class ProcessorsPassTest extends \PHPUnit_Framework_TestCase |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | 6 | use Doctrine\ORM\Mapping\ClassMetadata; |
7 | - |
|
8 | 7 | use Oro\Bundle\IntegrationBundle\Entity\Repository\ChannelRepository; |
9 | 8 | |
10 | 9 | class ChannelRepositoryTest extends \PHPUnit_Framework_TestCase |
@@ -3,11 +3,9 @@ |
||
3 | 3 | namespace Oro\Bundle\IntegrationBundle\Tests\Unit\Form\Handler; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | - |
|
7 | 6 | use Symfony\Component\Form\FormInterface; |
8 | 7 | use Symfony\Component\HttpFoundation\Request; |
9 | 8 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
10 | - |
|
11 | 9 | use Oro\Bundle\IntegrationBundle\Event\IntegrationUpdateEvent; |
12 | 10 | use Oro\Bundle\UserBundle\Entity\User; |
13 | 11 | use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration; |
@@ -5,11 +5,9 @@ |
||
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | 6 | use Doctrine\ORM\Mapping\Driver\AnnotationDriver; |
7 | 7 | use Doctrine\Common\Annotations\AnnotationReader; |
8 | - |
|
9 | 8 | use Symfony\Component\Form\FormView; |
10 | 9 | use Symfony\Component\OptionsResolver\OptionsResolver; |
11 | 10 | use Symfony\Component\Form\ChoiceList\View\ChoiceView; |
12 | - |
|
13 | 11 | use Oro\Bundle\IntegrationBundle\Manager\TypesRegistry; |
14 | 12 | use Oro\Bundle\IntegrationBundle\Form\Type\IntegrationSelectType; |
15 | 13 | use Oro\Bundle\TestFrameworkBundle\Test\Doctrine\ORM\OrmTestCase; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Bundle\IntegrationBundle\Tests\Unit\Form\Type; |
4 | 4 | |
5 | 5 | use Symfony\Component\Form\FormBuilder; |
6 | - |
|
7 | 6 | use Oro\Bundle\IntegrationBundle\Form\Type\ChannelType as IntegrationType; |
8 | 7 | |
9 | 8 | class IntegrationTypeTest extends \PHPUnit_Framework_TestCase |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\ORM\UnitOfWork; |
6 | 6 | use Doctrine\ORM\EntityManager; |
7 | - |
|
8 | 7 | use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration; |
9 | 8 | use Oro\Bundle\IntegrationBundle\ImportExport\Helper\DefaultOwnerHelper; |
10 | 9 | use Oro\Bundle\SecurityBundle\Owner\Metadata\OwnershipMetadata; |
@@ -103,7 +103,7 @@ |
||
103 | 103 | /** |
104 | 104 | * @param mixed $context |
105 | 105 | * |
106 | - * @return \PHPUnit_Framework_MockObject_MockObject+ |
|
106 | + * @return \Akeneo\Bundle\BatchBundle\Entity\StepExecution |
|
107 | 107 | */ |
108 | 108 | protected function getMockStepExecution($context) |
109 | 109 | { |
@@ -3,12 +3,9 @@ |
||
3 | 3 | namespace Oro\Bundle\IntegrationBundle\Tests\Unit\ImportExport\Reader; |
4 | 4 | |
5 | 5 | use Symfony\Bridge\Doctrine\ManagerRegistry; |
6 | - |
|
7 | -use Doctrine\ORM\Query; |
|
8 | 6 | use Doctrine\ORM\EntityManager; |
9 | 7 | use Doctrine\Common\Annotations\AnnotationReader; |
10 | 8 | use Doctrine\ORM\Mapping\Driver\AnnotationDriver; |
11 | - |
|
12 | 9 | use Oro\Bundle\ImportExportBundle\Context\ContextRegistry; |
13 | 10 | use Oro\Bundle\IntegrationBundle\Reader\EntityReaderById; |
14 | 11 | use Oro\Bundle\TestFrameworkBundle\Test\Doctrine\ORM\OrmTestCase; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Bundle\IntegrationBundle\Tests\Unit\Model\Action; |
4 | 4 | |
5 | 5 | use Symfony\Component\PropertyAccess\PropertyPath; |
6 | - |
|
7 | 6 | use Oro\Bundle\IntegrationBundle\Manager\FieldsChangesManager; |
8 | 7 | use Oro\Bundle\IntegrationBundle\Model\Action\RemoveFieldsChangesAction; |
9 | 8 | use Oro\Bundle\WorkflowBundle\Model\ContextAccessor; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Bundle\IntegrationBundle\Tests\Unit\Model\Action; |
4 | 4 | |
5 | 5 | use Symfony\Component\PropertyAccess\PropertyPath; |
6 | - |
|
7 | 6 | use Oro\Bundle\IntegrationBundle\Manager\FieldsChangesManager; |
8 | 7 | use Oro\Bundle\IntegrationBundle\Model\Action\SaveFieldsChangesAction; |
9 | 8 | use Oro\Bundle\WorkflowBundle\Model\ContextAccessor; |