mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 08:24:05 +00:00
Create default postgres db
This commit is contained in:
parent
6ecf3777fa
commit
fb57845dd2
2 changed files with 2 additions and 1 deletions
|
|
@ -22,6 +22,7 @@ before_script:
|
|||
- mysql -e 'CREATE DATABASE travis_tenancy;'
|
||||
- export DB_USERNAME=root DB_PASSWORD="" DB_DATABASE=travis_tenancy CODECOV_TOKEN="24382d15-84e7-4a55-bea4-c4df96a24a9b"
|
||||
- cat vendor/laravel/framework/src/Illuminate/Foundation/Application.php| grep 'const VERSION'
|
||||
- psql -c 'create database default;' -U postgres
|
||||
|
||||
script: vendor/bin/phpunit -v --coverage-clover=coverage.xml
|
||||
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ abstract class TestCase extends \Orchestra\Testbench\TestCase
|
|||
'suffix' => '.sqlite',
|
||||
],
|
||||
'database.connections.sqlite.database' => ':memory:',
|
||||
'database.connections.pgsql.database' => null,
|
||||
'database.connections.pgsql.database' => 'default',
|
||||
'database.connections.pgsql.username' => 'postgres',
|
||||
'tenancy.filesystem.disks' => [
|
||||
'local',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue