mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-22 05:15:29 +09:00
Fix unit tests for PHP 7
This commit is contained in:
parent
7b792ff27e
commit
4e235ad28c
2 changed files with 2 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ $dsn = $db_config['dsn'];
|
||||||
$dsn = preg_split('/[;:]/', $dsn);
|
$dsn = preg_split('/[;:]/', $dsn);
|
||||||
$db_type = array_shift($dsn);
|
$db_type = array_shift($dsn);
|
||||||
$dbinfo = [
|
$dbinfo = [
|
||||||
'type' => $db_type,
|
'type' => (($db_type === 'mysql') ? 'mysqli' : $db_type),
|
||||||
'user' => $db_config['user'],
|
'user' => $db_config['user'],
|
||||||
'password' => $db_config['password'],
|
'password' => $db_config['password'],
|
||||||
'port' => ((isset($db_config['port']) && $db_config['port'])?: 3306),
|
'port' => ((isset($db_config['port']) && $db_config['port'])?: 3306),
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@ $I->fillField('#aMail', 'admin@admin.net');
|
||||||
$I->submitForm('#body', [
|
$I->submitForm('#body', [
|
||||||
'act' => 'procInstall',
|
'act' => 'procInstall',
|
||||||
'time_zone' => '+0900',
|
'time_zone' => '+0900',
|
||||||
'db_type' => 'mysqli',
|
'db_type' => 'mysqli_innodb',
|
||||||
'email_address' => 'admin@admin.net',
|
'email_address' => 'admin@admin.net',
|
||||||
'password' => 'admin',
|
'password' => 'admin',
|
||||||
'password2' => 'admin',
|
'password2' => 'admin',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue