mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
Fix unit tests for PHP 7
This commit is contained in:
parent
0e1b0b42dd
commit
7b792ff27e
2 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ $config = (!$this->env) ? Configuration::suiteSettings('Install', Configuration:
|
|||
$db_config = $config['modules']['config']['Db'];
|
||||
|
||||
$dsn = $db_config['dsn'];
|
||||
$dsn = split('[;:]', $dsn);
|
||||
$dsn = preg_split('/[;:]/', $dsn);
|
||||
$db_type = array_shift($dsn);
|
||||
$dbinfo = [
|
||||
'type' => $db_type,
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ $config = (!$this->env) ? Configuration::suiteSettings('Install', Configuration:
|
|||
$db_config = $config['modules']['config']['Db'];
|
||||
|
||||
$dsn = $db_config['dsn'];
|
||||
$dsn = split('[;:]', $dsn);
|
||||
$dsn = preg_split('/[;:]/', $dsn);
|
||||
$db_type = array_shift($dsn);
|
||||
$dbinfo = [
|
||||
'type' => $db_type,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue