mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-21 23:20:24 +00:00
Update HostingSubscriptionBackupTest.php
This commit is contained in:
parent
6aa7e7dacc
commit
3bed9aab56
1 changed files with 2 additions and 2 deletions
|
@ -156,7 +156,7 @@ class HostingSubscriptionBackupTest extends ActionTestCase
|
|||
$this->assertNotEmpty($databaseUser->id);
|
||||
|
||||
$unitTestDbConnection = 'db-unit-' . $database->id;
|
||||
Config::set('database.connections.' . $unitTestDbConnection, [
|
||||
config(['database.connections.' . $unitTestDbConnection => [
|
||||
'driver' => 'mysql',
|
||||
'host' => 'localhost',
|
||||
'port' => '3306',
|
||||
|
@ -168,7 +168,7 @@ class HostingSubscriptionBackupTest extends ActionTestCase
|
|||
'prefix' => '',
|
||||
'strict' => false,
|
||||
'engine' => null,
|
||||
]);
|
||||
]]);
|
||||
|
||||
Schema::connection($unitTestDbConnection)
|
||||
->create('random_table', function ($table) {
|
||||
|
|
Loading…
Reference in a new issue