diff options
Diffstat (limited to 'tests/Unit/Database/Migration/MigrateTest.php')
-rw-r--r-- | tests/Unit/Database/Migration/MigrateTest.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/Unit/Database/Migration/MigrateTest.php b/tests/Unit/Database/Migration/MigrateTest.php index 3a9adbe8..6dffbe2f 100644 --- a/tests/Unit/Database/Migration/MigrateTest.php +++ b/tests/Unit/Database/Migration/MigrateTest.php @@ -57,6 +57,8 @@ class MigrateTest extends TestCase ['foo/9876_03_22_210000_random_hack.php', '9876_03_22_210000_random_hack', Migrate::UP], ['foo/9999_99_99_999999_another_foo.php', '9999_99_99_999999_another_foo', Migrate::UP], ['foo/9876_03_22_210000_random_hack.php', '9876_03_22_210000_random_hack', Migrate::UP], + ['foo/9999_99_99_999999_another_foo.php', '9999_99_99_999999_another_foo', Migrate::UP], + ['foo/9876_03_22_210000_random_hack.php', '9876_03_22_210000_random_hack', Migrate::UP], ['foo/4567_11_01_000000_do_stuff.php', '4567_11_01_000000_do_stuff', Migrate::DOWN] ); $migration->expects($this->atLeastOnce()) @@ -65,9 +67,13 @@ class MigrateTest extends TestCase ['9876_03_22_210000_random_hack', Migrate::UP], ['9999_99_99_999999_another_foo', Migrate::UP], ['9876_03_22_210000_random_hack', Migrate::UP], + ['9999_99_99_999999_another_foo', Migrate::UP], + ['9876_03_22_210000_random_hack', Migrate::UP], ['4567_11_01_000000_do_stuff', Migrate::DOWN] ); + $migration->run('foo', Migrate::UP); + $messages = []; $migration->setOutput(function ($text) use (&$messages) { $messages[] = $text; |