Skip to content

Commit f371799

Browse files
chore: check that metadata wasn’t missing when updating the schema,
and add the `--complete` option
1 parent 1b88689 commit f371799

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/Traits/LiipAcmeFixturesTrait.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,11 @@ private function resetSchema(): void
5454
$commandTester = new CommandTester($command);
5555
$return = $commandTester->execute([
5656
'--force' => true,
57+
'--complete' => true,
5758
]);
5859

5960
$this->assertSame(0, $return, $commandTester->getDisplay());
61+
$this->assertStringNotContainsString('No Metadata Classes to process', $commandTester->getDisplay());
6062

6163
$manager = $this->getContainer()->get('doctrine')->getManager();
6264

0 commit comments

Comments
 (0)