mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 17:34:03 +00:00
Apply fixes from StyleCI
This commit is contained in:
parent
bfa62a3f0c
commit
fd0d98eacd
2 changed files with 28 additions and 28 deletions
|
|
@ -187,21 +187,21 @@ class TenantClassTest extends TestCase
|
|||
]);
|
||||
|
||||
config(['database.connections.mysql' => [
|
||||
"driver" => "mysql",
|
||||
"url" => null,
|
||||
"host" => "mysql",
|
||||
"port" => "3306",
|
||||
"database" => "main",
|
||||
"username" => "root",
|
||||
"password" => "password",
|
||||
"unix_socket" => "",
|
||||
"charset" => "utf8mb4",
|
||||
"collation" => "utf8mb4_unicode_ci",
|
||||
"prefix" => "",
|
||||
"prefix_indexes" => true,
|
||||
"strict" => true,
|
||||
"engine" => null,
|
||||
"options" => [],
|
||||
'driver' => 'mysql',
|
||||
'url' => null,
|
||||
'host' => 'mysql',
|
||||
'port' => '3306',
|
||||
'database' => 'main',
|
||||
'username' => 'root',
|
||||
'password' => 'password',
|
||||
'unix_socket' => '',
|
||||
'charset' => 'utf8mb4',
|
||||
'collation' => 'utf8mb4_unicode_ci',
|
||||
'prefix' => '',
|
||||
'prefix_indexes' => true,
|
||||
'strict' => true,
|
||||
'engine' => null,
|
||||
'options' => [],
|
||||
]]);
|
||||
|
||||
$this->assertEquals([
|
||||
|
|
@ -210,18 +210,18 @@ class TenantClassTest extends TestCase
|
|||
'password' => 'passwordfoo',
|
||||
'link' => 'foo',
|
||||
|
||||
"driver" => "mysql",
|
||||
"url" => null,
|
||||
"host" => "mysql",
|
||||
"port" => "3306",
|
||||
"unix_socket" => "",
|
||||
"charset" => "utf8mb4",
|
||||
"collation" => "utf8mb4_unicode_ci",
|
||||
"prefix" => "",
|
||||
"prefix_indexes" => true,
|
||||
"strict" => true,
|
||||
"engine" => null,
|
||||
"options" => [],
|
||||
'driver' => 'mysql',
|
||||
'url' => null,
|
||||
'host' => 'mysql',
|
||||
'port' => '3306',
|
||||
'unix_socket' => '',
|
||||
'charset' => 'utf8mb4',
|
||||
'collation' => 'utf8mb4_unicode_ci',
|
||||
'prefix' => '',
|
||||
'prefix_indexes' => true,
|
||||
'strict' => true,
|
||||
'engine' => null,
|
||||
'options' => [],
|
||||
], $tenant->database()->connection());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue