| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public function testCacheCommand() |
||
| 15 | { |
||
| 16 | $kernel = $this->createKernel(); |
||
| 17 | $kernel->boot(); |
||
| 18 | |||
| 19 | $application = new Application( $kernel ); |
||
| 20 | $application->add( new Command\CacheCommand() ); |
||
|
|
|||
| 21 | |||
| 22 | $command = $application->find( 'aimeos:clear' ); |
||
| 23 | $commandTester = new CommandTester( $command ); |
||
| 24 | $commandTester->execute( array( 'command' => $command->getName(), 'site' => 'unittest' ) ); |
||
| 25 | |||
| 26 | $this->assertEquals( 0, $commandTester->getStatusCode() ); |
||
| 27 | } |
||
| 29 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths