Skip to content

Commit

Permalink
Commit from GitHub Actions (style-fix)
Browse files Browse the repository at this point in the history
  • Loading branch information
cesargb committed May 20, 2023
1 parent dfe12b2 commit b29f7e3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/MagicLinkServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function boot()

$this->publishes([
__DIR__.'/../databases/migrations' => database_path('migrations'),
], 'migrations');
], 'migrations');

if ($this->mustLoadRoute()) {
$this->loadRoutesFrom(__DIR__.'/../routes/routes.php');
Expand Down
10 changes: 5 additions & 5 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ protected function defineEnvironment($app)
]);

$app['config']->set('database.connections.testbench', [
'driver' => 'sqlite',
'driver' => 'sqlite',
'database' => ':memory:',
'prefix' => '',
'prefix' => '',
'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true),
]);

Expand All @@ -73,8 +73,8 @@ protected function defineEnvironment($app)
if($driver !== 'pgsql' && $driver !== 'mysql') {
$app['config']->set('database.default', 'testbench');
} else {
$app['config']->set('database.default', $driver);
}
$app['config']->set('database.default', $driver);
}

}

Expand All @@ -96,7 +96,7 @@ protected function setUpDatabase($app)
$app['db']->connection()->getSchemaBuilder()->dropIfExists('migrations');
$app['db']->connection()->getSchemaBuilder()->dropIfExists('magic_links');
}

$this->artisan('migrate');

$app['db']->connection()->getSchemaBuilder()->create('users', function (Blueprint $table) {
Expand Down

0 comments on commit b29f7e3

Please sign in to comment.