First go at integration tests
This commit is contained in:
parent
89db9390df
commit
e2aa01c9cc
16 changed files with 610 additions and 28 deletions
|
@ -43,6 +43,28 @@ return [
|
|||
'prefix' => env('DB_PREFIX', ''),
|
||||
'strict' => env('DB_STRICT_MODE', false),
|
||||
],
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------------
|
||||
| Test Database Connection
|
||||
| -------------------------------------------------------------------------
|
||||
|
|
||||
| This connection is used by the integration and HTTP tests for Pterodactyl
|
||||
| development. Normal users of the Panel do not need to adjust any settings
|
||||
| in here.
|
||||
*/
|
||||
'testing' => [
|
||||
'driver' => 'mysql',
|
||||
'host' => env('TESTING_DB_HOST', '127.0.0.1'),
|
||||
'port' => env('TESTING_DB_PORT', '3306'),
|
||||
'database' => env('TESTING_DB_DATABASE', 'panel_test'),
|
||||
'username' => env('TESTING_DB_USERNAME', 'pterodactyl_test'),
|
||||
'password' => env('TESTING_DB_PASSWORD', ''),
|
||||
'charset' => 'utf8mb4',
|
||||
'collation' => 'utf8mb4_unicode_ci',
|
||||
'prefix' => '',
|
||||
'strict' => false,
|
||||
],
|
||||
],
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue