We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80ee1fd commit 57e51bdCopy full SHA for 57e51bd
tests/Maker/MakeMigrationTest.php
@@ -142,5 +142,16 @@ public function getTestDetails(): \Generator
142
$this->assertStringContainsString('Success', $output);
143
}),
144
];
145
+
146
+ yield 'it_generates_a_nowdoc_migration' => [$this->createMakeMigrationTest()
147
+ ->addRequiredPackageVersion('doctrine/doctrine-migrations-bundle', '>=3')
148
+ ->run(function (MakerTestRunner $runner) {
149
+ $runner->runConsole('make:migration', [], '--nowdoc');
150
151
+ $output = $runner->runMaker([/* no input */]);
152
153
+ $this->assertStringContainsString('Success', $output);
154
+ }),
155
+ ];
156
}
157
0 commit comments