File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
_support/MigrationTestMigrations/Database/Migrations
system/Database/Migrations Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ public function up()
2121 'constraint ' => 255 ,
2222 ],
2323 ]);
24- $ this ->forge ->createTable ('foo ' , true );
24+ $ this ->forge ->createTable ('foo ' );
2525
2626 $ this ->db ->table ('foo ' )->insert ([
2727 'key ' => 'foobar ' ,
Original file line number Diff line number Diff line change @@ -349,6 +349,9 @@ public function testLatestSuccess()
349349
350350 public function testRegressSuccess ()
351351 {
352+ $ forge = Database::forge ();
353+ $ forge ->dropTable ('foo ' , true );
354+
352355 $ runner = new MigrationRunner ($ this ->config );
353356 $ runner ->setSilent (false )
354357 ->setNamespace ('Tests\Support\MigrationTestMigrations ' )
@@ -368,6 +371,9 @@ public function testRegressSuccess()
368371
369372 public function testLatestTriggersEvent ()
370373 {
374+ $ forge = Database::forge ();
375+ $ forge ->dropTable ('foo ' , true );
376+
371377 $ runner = new MigrationRunner ($ this ->config );
372378 $ runner ->setSilent (false )
373379 ->setNamespace ('Tests\Support\MigrationTestMigrations ' );
@@ -387,6 +393,9 @@ public function testLatestTriggersEvent()
387393
388394 public function testRegressTriggersEvent ()
389395 {
396+ $ forge = Database::forge ();
397+ $ forge ->dropTable ('foo ' , true );
398+
390399 $ runner = new MigrationRunner ($ this ->config );
391400 $ runner ->setSilent (false )
392401 ->setNamespace ('Tests\Support\MigrationTestMigrations ' );
You can’t perform that action at this time.
0 commit comments