Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to PostgreSQL #25

Merged
merged 3 commits into from
May 5, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply fixes from StyleCI
  • Loading branch information
cesargb authored and StyleCIBot committed May 5, 2020
commit f748e6bf91cd665a351bd98eabaf96bfd1ee74eb
2 changes: 1 addition & 1 deletion tests/ConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ public function test_save_action_serialize()
);
}
}
}
}
3 changes: 1 addition & 2 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ protected function getEnvironmentSetUp($app)

$app['config']->set('filesystems.disks.local.root', __DIR__.'/stubs/storage/app');


$app['config']->set('database.connections.sqlite', [
'driver' => 'sqlite',
'database' => ':memory:',
Expand Down Expand Up @@ -74,7 +73,7 @@ protected function getEnvironmentSetUp($app)

if (getenv('DB_DRIVER') === 'pgsql') {
$app['config']->set('database.default', 'pgsql');
} else if (getenv('DB_DRIVER') === 'mysql') {
} elseif (getenv('DB_DRIVER') === 'mysql') {
$app['config']->set('database.default', 'mysql');
}
}
Expand Down