@@ -4,9 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\Console\Input\ArrayInput; |
6 | 6 | use Symfony\Component\DependencyInjection\ContainerInterface; |
7 | - |
|
8 | 7 | use Oro\Bundle\IntegrationBundle\Entity\Channel; |
9 | - |
|
10 | 8 | use OroCRM\Bundle\MagentoBundle\Tests\Unit\Stub\MemoryOutput; |
11 | 9 | use OroCRM\Bundle\MagentoBundle\Command\CartExpirationSyncCommand; |
12 | 10 |
@@ -3,10 +3,8 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Tests\Unit\Converter; |
4 | 4 | |
5 | 5 | use DateTime; |
6 | - |
|
7 | 6 | use Oro\Bundle\DashboardBundle\Helper\DateHelper; |
8 | 7 | use Oro\Bundle\LocaleBundle\Formatter\DateTimeFormatter; |
9 | - |
|
10 | 8 | use OroCRM\Bundle\MagentoBundle\Dashboard\OrderDataProvider; |
11 | 9 | |
12 | 10 | class OrderDataProviderTest extends \PHPUnit_Framework_TestCase |
@@ -3,12 +3,9 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Tests\Unit\Dashboard; |
4 | 4 | |
5 | 5 | use DateTime; |
6 | - |
|
7 | 6 | use Doctrine\Common\Persistence\ManagerRegistry; |
8 | - |
|
9 | 7 | use Oro\Bundle\ChartBundle\Model\ConfigProvider; |
10 | 8 | use Oro\Bundle\SecurityBundle\ORM\Walker\AclHelper; |
11 | - |
|
12 | 9 | use OroCRM\Bundle\MagentoBundle\Dashboard\PurchaseDataProvider; |
13 | 10 | use OroCRM\Bundle\MagentoBundle\Provider\TrackingVisitProvider; |
14 | 11 |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Oro\Bundle\DataGridBundle\Datasource\ResultRecord; |
6 | 6 | use Oro\Bundle\DataGridBundle\Datasource\ResultRecordInterface; |
7 | - |
|
8 | 7 | use OroCRM\Bundle\MagentoBundle\Datagrid\CustomerActionPermissionProvider; |
9 | 8 | |
10 | 9 | class CustomerActionPermissionProviderTest extends AbstractTwoWaySyncActionPermissionProviderTest |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use Doctrine\ORM\Event\LifecycleEventArgs; |
7 | 7 | use Doctrine\ORM\Event\PostFlushEventArgs; |
8 | 8 | use Doctrine\ORM\Event\PreUpdateEventArgs; |
9 | - |
|
10 | 9 | use OroCRM\Bundle\ChannelBundle\EventListener\ChannelDoctrineListener; |
11 | 10 | use OroCRM\Bundle\MagentoBundle\Entity\Order; |
12 | 11 | use OroCRM\Bundle\MagentoBundle\EventListener\OrderListener; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Tests\Unit\Form\Handler; |
4 | 4 | |
5 | 5 | use Oro\Bundle\AddressBundle\Entity\AddressType; |
6 | - |
|
7 | 6 | use OroCRM\Bundle\MagentoBundle\Entity\CartAddress; |
8 | 7 | use OroCRM\Bundle\MagentoBundle\Form\Handler\CartAddressHandler; |
9 | 8 |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Tests\Unit\Form\Handler; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Collections\ArrayCollection; |
6 | - |
|
7 | 6 | use OroCRM\Bundle\MagentoBundle\Entity\Cart; |
8 | 7 | use OroCRM\Bundle\MagentoBundle\Form\Handler\CartHandler; |
9 | 8 |
@@ -168,7 +168,7 @@ |
||
168 | 168 | } |
169 | 169 | |
170 | 170 | /** |
171 | - * @return object |
|
171 | + * @return Customer |
|
172 | 172 | */ |
173 | 173 | protected function getObject() |
174 | 174 | { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Tests\Unit\Form\Handler; |
4 | 4 | |
5 | 5 | use Symfony\Component\Form\Form; |
6 | - |
|
7 | 6 | use OroCRM\Bundle\MagentoBundle\Service\CustomerStateHandler; |
8 | 7 | use OroCRM\Bundle\MagentoBundle\Service\StateManager; |
9 | 8 | use Oro\Bundle\FormBundle\Tests\Unit\Model\UpdateHandlerTest; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\MagentoBundle\Tests\Unit\Form\Handler; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Collections\ArrayCollection; |
6 | - |
|
7 | 6 | use OroCRM\Bundle\MagentoBundle\Entity\Order; |
8 | 7 | use OroCRM\Bundle\MagentoBundle\Form\Handler\OrderHandler; |
9 | 8 |