| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | public function testRun() |
||
| 6 | { |
||
| 7 | $cfgfile = dirname( dirname( __DIR__ ) ) . '/src/aimeos-default.php'; |
||
| 8 | $argv = array( "cache.php", "--config=$cfgfile", "unittest" ); |
||
| 9 | |||
| 10 | ob_start(); |
||
| 11 | $result = \Aimeos\Slim\Command\Cache::run( $argv ); |
||
| 12 | $output = ob_get_contents(); |
||
| 13 | ob_end_clean(); |
||
| 14 | |||
| 15 | $this->assertEquals( "Clearing the Aimeos cache for site \"unittest\"\n", $output ); |
||
| 16 | } |
||
| 28 |