diff --git a/tests/Integration/Migration/ResetDatabaseWithMigrationTest.php b/tests/Integration/Migration/ResetDatabaseWithMigrationTest.php index eb07f3cc..896e5c0e 100644 --- a/tests/Integration/Migration/ResetDatabaseWithMigrationTest.php +++ b/tests/Integration/Migration/ResetDatabaseWithMigrationTest.php @@ -45,16 +45,9 @@ public function it_generates_valid_schema(): void $application = new Application(self::bootKernel()); $application->setAutoExit(false); - $exit = $application->run( - new ArrayInput(['command' => 'doctrine:schema:validate', '-v' => true]), - $output = new BufferedOutput() - ); - - // The command actually fails, because of a bug in doctrine ORM 3! - // https://github.com/doctrine/migrations/issues/1406 - self::assertSame(2, $exit, \sprintf('Schema is not valid: %s', $commandOutput = $output->fetch())); - self::assertStringContainsString('1 schema diff(s) detected', $commandOutput); - self::assertStringContainsString('DROP TABLE doctrine_migration_versions', $commandOutput); + $exit = $application->run(new ArrayInput(['command' => 'doctrine:schema:validate', '-v' => true]), new BufferedOutput()); + + self::assertSame(0, $exit); } /**