Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
36 | public function test_init_flagsCache() |
||
37 | { |
||
38 | $manager = MappingManager::instance(); |
||
39 | $manager->needsCaching(false); |
||
40 | self::assertFalse($manager->needsCaching()); |
||
41 | |||
42 | $books = Books::instance(); |
||
43 | MappingManager::for($books); |
||
44 | self::assertTrue($manager->needsCaching()); |
||
45 | } |
||
46 | } |