mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 13:34:04 +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' => [
|
config(['database.connections.mysql' => [
|
||||||
"driver" => "mysql",
|
'driver' => 'mysql',
|
||||||
"url" => null,
|
'url' => null,
|
||||||
"host" => "mysql",
|
'host' => 'mysql',
|
||||||
"port" => "3306",
|
'port' => '3306',
|
||||||
"database" => "main",
|
'database' => 'main',
|
||||||
"username" => "root",
|
'username' => 'root',
|
||||||
"password" => "password",
|
'password' => 'password',
|
||||||
"unix_socket" => "",
|
'unix_socket' => '',
|
||||||
"charset" => "utf8mb4",
|
'charset' => 'utf8mb4',
|
||||||
"collation" => "utf8mb4_unicode_ci",
|
'collation' => 'utf8mb4_unicode_ci',
|
||||||
"prefix" => "",
|
'prefix' => '',
|
||||||
"prefix_indexes" => true,
|
'prefix_indexes' => true,
|
||||||
"strict" => true,
|
'strict' => true,
|
||||||
"engine" => null,
|
'engine' => null,
|
||||||
"options" => [],
|
'options' => [],
|
||||||
]]);
|
]]);
|
||||||
|
|
||||||
$this->assertEquals([
|
$this->assertEquals([
|
||||||
|
|
@ -210,18 +210,18 @@ class TenantClassTest extends TestCase
|
||||||
'password' => 'passwordfoo',
|
'password' => 'passwordfoo',
|
||||||
'link' => 'foo',
|
'link' => 'foo',
|
||||||
|
|
||||||
"driver" => "mysql",
|
'driver' => 'mysql',
|
||||||
"url" => null,
|
'url' => null,
|
||||||
"host" => "mysql",
|
'host' => 'mysql',
|
||||||
"port" => "3306",
|
'port' => '3306',
|
||||||
"unix_socket" => "",
|
'unix_socket' => '',
|
||||||
"charset" => "utf8mb4",
|
'charset' => 'utf8mb4',
|
||||||
"collation" => "utf8mb4_unicode_ci",
|
'collation' => 'utf8mb4_unicode_ci',
|
||||||
"prefix" => "",
|
'prefix' => '',
|
||||||
"prefix_indexes" => true,
|
'prefix_indexes' => true,
|
||||||
"strict" => true,
|
'strict' => true,
|
||||||
"engine" => null,
|
'engine' => null,
|
||||||
"options" => [],
|
'options' => [],
|
||||||
], $tenant->database()->connection());
|
], $tenant->database()->connection());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue