Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
7 | public function testRepositoryShouldBeSetCorrectly() |
||
8 | { |
||
9 | $client = $this->createClient(array('test_case' => 'ORM')); |
||
10 | |||
11 | $repository = $client->getContainer()->get('fos_elastica.manager.orm') |
||
12 | ->getRepository('FOS\ElasticaBundle\Tests\Functional\TypeObject'); |
||
13 | |||
14 | $this->assertNotNull($repository); |
||
15 | $this->assertEquals('FOS\ElasticaBundle\Tests\Functional\TypeObjectRepository', get_class($repository)); |
||
16 | } |
||
17 | |||
31 | } |