| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | public function testExecute() |
||
| 12 | { |
||
| 13 | $kernel = static::createKernel(); |
||
| 14 | $application = new Application($kernel); |
||
| 15 | |||
| 16 | $command = $application->find('update'); |
||
| 17 | $commandTester = new CommandTester($command); |
||
| 18 | $commandTester->execute([ |
||
| 19 | ]); |
||
| 20 | |||
| 21 | // the output of the command in the console |
||
| 22 | $output = $commandTester->getDisplay(); |
||
| 23 | $this->assertContains('No changes', $output); |
||
| 24 | } |
||
| 25 | } |
||
| 26 |