| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | public function testDiskCachingDirectory() |
||
| 30 | { |
||
| 31 | $document = $this->getDocument(static::$router->generate('test_default', ['templateName' => 'simple'])); |
||
| 32 | static::assertNotNull($document, 'Document does not exist'); |
||
| 33 | |||
| 34 | static::assertNotEmpty(static::$kernel->getContainer()->getParameter('mewes_k_twig_spreadsheet.disk_caching_directory'), 'Unexpected parameter'); |
||
| 35 | static::assertDirectoryExists(static::$kernel->getContainer()->getParameter('mewes_k_twig_spreadsheet.disk_caching_directory'), 'Cache directory does not exist'); |
||
| 36 | } |
||
| 37 | } |
||
| 38 |