@@ -3,9 +3,7 @@ |
||
3 | 3 | namespace OroCRM\Bundle\SalesBundle\Tests\Functional\API; |
4 | 4 | |
5 | 5 | use FOS\RestBundle\Util\Codes; |
6 | - |
|
7 | 6 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
8 | - |
|
9 | 7 | use OroCRM\Bundle\SalesBundle\Tests\Functional\Fixture\LoadLeadPhoneData; |
10 | 8 | |
11 | 9 | /** |
@@ -4,9 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use OroCRM\Bundle\SalesBundle\Tests\Functional\Fixture\LoadSalesBundleFixtures; |
6 | 6 | use Symfony\Component\DomCrawler\Form; |
7 | - |
|
8 | 7 | use Oro\Bundle\DataGridBundle\Tests\Functional\AbstractDatagridTestCase; |
9 | - |
|
10 | 8 | use OroCRM\Bundle\AccountBundle\Entity\Account; |
11 | 9 | use OroCRM\Bundle\ChannelBundle\Entity\Channel; |
12 | 10 | use OroCRM\Bundle\SalesBundle\Entity\B2bCustomer; |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\DomCrawler\Form; |
6 | 6 | use Symfony\Component\DomCrawler\Field\ChoiceFormField; |
7 | - |
|
8 | 7 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
9 | 8 | |
10 | 9 | /** |
@@ -5,9 +5,7 @@ |
||
5 | 5 | use Symfony\Component\DomCrawler\Form; |
6 | 6 | use Symfony\Component\DomCrawler\Field\ChoiceFormField; |
7 | 7 | use Symfony\Component\DomCrawler\Field\InputFormField; |
8 | - |
|
9 | 8 | use Oro\Bundle\DataGridBundle\Tests\Functional\AbstractDatagridTestCase; |
10 | - |
|
11 | 9 | use OroCRM\Bundle\SalesBundle\Tests\Functional\Fixture\LoadSalesBundleFixtures; |
12 | 10 | |
13 | 11 | /** |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\DataFixtures\AbstractFixture; |
6 | 6 | use Doctrine\Common\Persistence\ObjectManager; |
7 | - |
|
8 | 7 | use OroCRM\Bundle\SalesBundle\Entity\B2bCustomer; |
9 | 8 | |
10 | 9 | class LoadB2bCustomerEntitiesData extends AbstractFixture |
@@ -3,12 +3,10 @@ |
||
3 | 3 | |
4 | 4 | use Doctrine\Common\DataFixtures\AbstractFixture; |
5 | 5 | use Doctrine\Common\Persistence\ObjectManager; |
6 | - |
|
7 | 6 | use Oro\Bundle\DashboardBundle\Entity\Dashboard; |
8 | 7 | use Oro\Bundle\DashboardBundle\Entity\Widget; |
9 | 8 | use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper; |
10 | 9 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
11 | - |
|
12 | 10 | use OroCRM\Bundle\CampaignBundle\Entity\Campaign; |
13 | 11 | use OroCRM\Bundle\SalesBundle\Entity\Lead; |
14 | 12 | use OroCRM\Bundle\SalesBundle\Entity\Opportunity; |
@@ -34,6 +34,10 @@ |
||
34 | 34 | $this->createLead($createdAt, ++$i); |
35 | 35 | } |
36 | 36 | |
37 | + /** |
|
38 | + * @param \DateTime $createdAt |
|
39 | + * @param integer $id |
|
40 | + */ |
|
37 | 41 | public function createLead($createdAt, $id) |
38 | 42 | { |
39 | 43 | $lead = new Lead(); |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\DataFixtures\AbstractFixture; |
6 | 6 | use Doctrine\Common\Persistence\ObjectManager; |
7 | - |
|
8 | 7 | use Oro\Bundle\DashboardBundle\Entity\Dashboard; |
9 | 8 | use Oro\Bundle\DashboardBundle\Entity\Widget; |
10 | 9 | use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper; |
@@ -36,8 +36,8 @@ |
||
36 | 36 | } |
37 | 37 | |
38 | 38 | /** |
39 | - * @param $createdAt |
|
40 | - * @param $id |
|
39 | + * @param \DateTime $createdAt |
|
40 | + * @param integer $id |
|
41 | 41 | */ |
42 | 42 | protected function createOpportunity($createdAt, $id) |
43 | 43 | { |