Total Complexity | 4 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
19 | class CleanTest extends ConsoleTest |
||
20 | { |
||
21 | public function testClean(): void |
||
22 | { |
||
23 | $this->runCommand('configure'); |
||
24 | |||
25 | $output = $this->runCommand('cache:clean'); |
||
26 | $this->assertStringContainsString('Runtime cache has been cleared', $output); |
||
27 | } |
||
28 | |||
29 | public function testClean2(): void |
||
30 | { |
||
31 | $output = $this->runCommand('cache:clean'); |
||
32 | $this->assertStringContainsString('directory is missing', $output); |
||
33 | } |
||
34 | |||
35 | public function testCleanVerbose(): void |
||
36 | { |
||
37 | $this->runCommand('configure'); |
||
38 | |||
39 | $output = $this->runCommandDebug('cache:clean'); |
||
40 | $this->assertStringContainsString('i18n', $output); |
||
41 | } |
||
42 | |||
43 | public function testUpdateClean(): void |
||
50 | } |
||
51 | } |
||
52 |