| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 45 | public function testExecute() |
||
| 46 | { |
||
| 47 | $command = (new Scaffold)->getApplication()->find($this->getTestCommand()); |
||
| 48 | |||
| 49 | $tester = new CommandTester($command); |
||
| 50 | |||
| 51 | ob_start(); |
||
| 52 | $tester->execute([]); |
||
| 53 | $buffer = ob_get_clean(); |
||
| 54 | |||
| 55 | $this->assertContains('Database build completed!', $buffer); |
||
| 56 | } |
||
| 57 | } |
||
| 58 |