Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
30 | public function testContainerSource() |
||
31 | { |
||
32 | static::bootKernel(['test_case' => 'Basic']); |
||
33 | $manager = $this->getManager(); |
||
34 | |||
35 | $index = $manager->getIndexConfiguration('index'); |
||
36 | |||
37 | $this->assertSame('index', $index->getName()); |
||
38 | $this->assertGreaterThanOrEqual(2, count($index->getTypes())); |
||
39 | $this->assertInstanceOf('FOS\\ElasticaBundle\\Configuration\\TypeConfig', $index->getType('type')); |
||
40 | $this->assertInstanceOf('FOS\\ElasticaBundle\\Configuration\\TypeConfig', $index->getType('parent')); |
||
41 | } |
||
42 | |||
53 |