mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-04 19:24:02 +00:00
Merge branch '1.x' into postgres
This commit is contained in:
commit
11b4591cbc
2 changed files with 6 additions and 1 deletions
|
|
@ -493,6 +493,12 @@ However, you still need to reload nginx configuration to apply the changes to co
|
|||
|
||||
## Testing
|
||||
|
||||
### With Docker
|
||||
|
||||
If you have Docker installed, simply run `docker-compose exec test vendor/bin/phpunit -v`. If you need to run the tests multiple times during development, run `./test` to run the tests. This script runs `docker-compose up -d` and phpunit via the `test` container. When you're done testing, run `docker-compose down` to shut down the containers.
|
||||
|
||||
### Without Docker
|
||||
|
||||
If you run the tests of this package, please make sure you don't store anything in Redis @ 127.0.0.1:6379 db#14. The contents of this database are flushed everytime the tests are run.
|
||||
|
||||
Some tests are run only if the `CI`, `TRAVIS` and `CONTINUOUS_INTEGRATION` environment variables are set to `true`. This is to avoid things like bloating your MySQL instance with test databases.
|
||||
|
|
|
|||
|
|
@ -71,7 +71,6 @@ abstract class TestCase extends \Orchestra\Testbench\TestCase
|
|||
'database.connections.sqlite.database' => ':memory:',
|
||||
'database.connections.mysql.host' => env('TENANCY_TEST_MYSQL_HOST', '127.0.0.1'),
|
||||
'database.connections.pgsql.host' => env('TENANCY_TEST_PGSQL_HOST', '127.0.0.1'),
|
||||
// 'database.connections.pgsql.username' => 'pgsqluser',
|
||||
'tenancy.filesystem.disks' => [
|
||||
'local',
|
||||
'public',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue