Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
37 | public function itWarmsUpCache() |
||
38 | { |
||
39 | $this->assertFalse(file_exists($this->aspectCacheDir)); |
||
40 | |||
41 | $process = new Process(sprintf('php %s cache:warmup:aop', realpath(__DIR__.'/../Fixtures/project/bin/console'))); |
||
42 | $process->run(); |
||
43 | |||
44 | $this->assertTrue($process->isSuccessful(), 'Unable to execute "cache:warmup:aop" command.'); |
||
45 | |||
46 | $this->assertTrue(file_exists($this->aspectCacheDir.'/_proxies/Application/Main.php')); |
||
47 | $this->assertTrue(file_exists($this->aspectCacheDir.'/Application/Main.php')); |
||
48 | } |
||
49 | } |
||
50 |