src/Oro/Bundle/IntegrationBundle/Tests/Functional/Entity/Repository/ChannelRepositoryTest.php 1 location
|
@@ 20-30 (lines=11) @@
|
| 17 |
|
*/ |
| 18 |
|
protected $repository; |
| 19 |
|
|
| 20 |
|
protected function setUp() |
| 21 |
|
{ |
| 22 |
|
$this->initClient(); |
| 23 |
|
$this->loadFixtures( |
| 24 |
|
[ |
| 25 |
|
'Oro\Bundle\IntegrationBundle\Tests\Functional\DataFixtures\LoadStatusData', |
| 26 |
|
'Oro\Bundle\IntegrationBundle\Tests\Functional\DataFixtures\LoadJobData' |
| 27 |
|
] |
| 28 |
|
); |
| 29 |
|
$this->repository = $this->getContainer()->get('doctrine')->getRepository('OroIntegrationBundle:Channel'); |
| 30 |
|
} |
| 31 |
|
|
| 32 |
|
public function testRepositoryIsRegistered() |
| 33 |
|
{ |
src/Oro/Bundle/WorkflowBundle/Tests/Functional/Entity/Repository/WorkflowItemRepositoryTest.php 1 location
|
@@ 25-31 (lines=7) @@
|
| 22 |
|
*/ |
| 23 |
|
protected $repository; |
| 24 |
|
|
| 25 |
|
protected function setUp() |
| 26 |
|
{ |
| 27 |
|
$this->initClient(); |
| 28 |
|
$this->loadFixtures(array('Oro\Bundle\WorkflowBundle\Tests\Functional\DataFixtures\LoadWorkflowAwareEntities')); |
| 29 |
|
|
| 30 |
|
$this->repository = $this->getContainer()->get('doctrine')->getRepository('OroWorkflowBundle:WorkflowItem'); |
| 31 |
|
} |
| 32 |
|
|
| 33 |
|
public function testResetWorkflowData() |
| 34 |
|
{ |