| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | protected function setUp(): void |
||
| 14 | { |
||
| 15 | self::bootKernel(); |
||
| 16 | $this->application = new Application(self::$kernel); |
||
| 17 | $command = $this->application->find('doctrine:database:create'); |
||
| 18 | $commandTester = new CommandTester($command); |
||
| 19 | $commandTester->execute([]); |
||
| 20 | $command = $this->application->find('doctrine:schema:update'); |
||
| 21 | $commandTester = new CommandTester($command); |
||
| 22 | $commandTester->execute([ |
||
| 23 | 'command' => $command->getName(), |
||
| 24 | '--force' => true |
||
| 25 | ]); |
||
| 47 |