mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
test: fix test code for $db-dateFormat merge
This commit is contained in:
parent
3b23657db0
commit
186ece78cd
@ -26,22 +26,27 @@ use Throwable;
|
||||
final class BaseConnectionTest extends CIUnitTestCase
|
||||
{
|
||||
private array $options = [
|
||||
'DSN' => '',
|
||||
'hostname' => 'localhost',
|
||||
'username' => 'first',
|
||||
'password' => 'last',
|
||||
'database' => 'dbname',
|
||||
'DBDriver' => 'MockDriver',
|
||||
'DBPrefix' => 'test_',
|
||||
'pConnect' => true,
|
||||
'DBDebug' => true,
|
||||
'charset' => 'utf8mb4',
|
||||
'DBCollat' => 'utf8mb4_general_ci',
|
||||
'swapPre' => '',
|
||||
'encrypt' => false,
|
||||
'compress' => false,
|
||||
'strictOn' => true,
|
||||
'failover' => [],
|
||||
'DSN' => '',
|
||||
'hostname' => 'localhost',
|
||||
'username' => 'first',
|
||||
'password' => 'last',
|
||||
'database' => 'dbname',
|
||||
'DBDriver' => 'MockDriver',
|
||||
'DBPrefix' => 'test_',
|
||||
'pConnect' => true,
|
||||
'DBDebug' => true,
|
||||
'charset' => 'utf8mb4',
|
||||
'DBCollat' => 'utf8mb4_general_ci',
|
||||
'swapPre' => '',
|
||||
'encrypt' => false,
|
||||
'compress' => false,
|
||||
'strictOn' => true,
|
||||
'failover' => [],
|
||||
'dateFormat' => [
|
||||
'date' => 'Y-m-d',
|
||||
'datetime' => 'Y-m-d H:i:s',
|
||||
'time' => 'H:i:s',
|
||||
],
|
||||
];
|
||||
private array $failoverOptions = [
|
||||
'DSN' => '',
|
||||
|
Loading…
x
Reference in New Issue
Block a user