diff --git a/tests/TestCase.php b/tests/TestCase.php index d04fb0cc..7d895677 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -27,10 +27,11 @@ protected function getPackageProviders($app) public function getEnvironmentSetUp($app) { config()->set('database.default', 'testing'); - - /* - $migration = include __DIR__.'/../database/migrations/create_skeleton_table.php.stub'; - $migration->up(); - */ + + /* + foreach (\Illuminate\Support\Facades\File::allFiles(__DIR__ . '/database/migrations') as $migration) { + (include $migration->getRealPath())->up(); + } + */ } }