Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
sfolador committed Mar 29, 2024
2 parents 79f3a0f + bfadba5 commit c53bd92
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ protected function getPackageProviders($app)
];
}

// public function defineEnvironment($app)
// {
// // Setup default database to use sqlite :memory:
// $app['config']->set('database.default', 'testbench');
// $app['config']->set('database.connections.testbench', [
// 'driver' => 'sqlite',
// 'database' => ':memory:',
// 'prefix' => '',
// ]);
// }
// public function defineEnvironment($app)
// {
// // Setup default database to use sqlite :memory:
// $app['config']->set('database.default', 'testbench');
// $app['config']->set('database.connections.testbench', [
// 'driver' => 'sqlite',
// 'database' => ':memory:',
// 'prefix' => '',
// ]);
// }

public function getEnvironmentSetUp($app)
{
Expand All @@ -51,10 +51,10 @@ protected function defineDatabaseMigrations()
{
$this->loadMigrationsFrom(__DIR__.'/database/migrations');

// artisan($this, 'migrate', ['--database' => 'testbench']);
//
// $this->beforeApplicationDestroyed(
// fn () => artisan($this, 'migrate:rollback', ['--database' => 'testbench'])
// );
// artisan($this, 'migrate', ['--database' => 'testbench']);
//
// $this->beforeApplicationDestroyed(
// fn () => artisan($this, 'migrate:rollback', ['--database' => 'testbench'])
// );
}
}

0 comments on commit c53bd92

Please sign in to comment.