Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
20 | public function testCaching() |
||
21 | { |
||
22 | $this->app->getBootloader()->bootload([CacheBootloader::class]); |
||
23 | $this->cache->set(self::NAME, self::VALUE); |
||
24 | |||
25 | $default = 'some-default'; |
||
26 | $this->assertEquals($default, $this->cache->get('some-other-key', $default)); |
||
27 | |||
28 | $this->assertEquals(self::VALUE, $this->cache->get(self::NAME)); |
||
29 | } |
||
30 | |||
38 | } |