| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 28 | 1 | public function testCreateCacheFile() |
|
| 29 | { |
||
| 30 | 1 | $config = new Config([ |
|
| 31 | 'plugins' => [ |
||
| 32 | 1 | 'phile\\phpFastCache' => ['active' => true, 'storage' => 'files'] |
|
| 33 | ] |
||
| 34 | ]); |
||
| 35 | 1 | $this->createPhileCore(null, $config)->bootstrap(); |
|
| 36 | 1 | $cache = ServiceLocator::getService('Phile_Cache'); |
|
| 37 | 1 | $this->assertInstanceOf( |
|
| 38 | \Phile\Plugin\Phile\PhpFastCache\PhileToPsr16CacheAdapter::class, |
||
| 39 | $cache |
||
| 40 | ); |
||
| 62 |