| Conditions | 1 |
| Paths | 1 |
| Total Lines | 19 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 26 | public function testDocumentTreeDefaultValues() |
||
| 27 | { |
||
| 28 | $this->container->setParameter( |
||
| 29 | 'kernel.bundles', |
||
| 30 | array() |
||
| 31 | ); |
||
| 32 | $this->load(array('document_tree' => array())); |
||
| 33 | |||
| 34 | $this->assertContainerBuilderHasParameter( |
||
| 35 | 'sonata_admin_doctrine_phpcr.tree_block.configuration', |
||
| 36 | array( |
||
| 37 | 'routing_defaults' => array(), |
||
| 38 | 'repository_name' => null, |
||
| 39 | 'sortable_by' => 'position', |
||
| 40 | 'move' => true, |
||
| 41 | 'reorder' => true, |
||
| 42 | ) |
||
| 43 | ); |
||
| 44 | } |
||
| 45 | } |
||
| 46 |