Fix unit tests for PHP 7

This commit is contained in:
Kijin Sung 2016-01-06 13:29:27 +09:00
parent 7b792ff27e
commit 4e235ad28c
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ $dsn = $db_config['dsn'];
$dsn = preg_split('/[;:]/', $dsn);
$db_type = array_shift($dsn);
$dbinfo = [
'type' => $db_type,
'type' => (($db_type === 'mysql') ? 'mysqli' : $db_type),
'user' => $db_config['user'],
'password' => $db_config['password'],
'port' => ((isset($db_config['port']) && $db_config['port'])?: 3306),

View file

@ -60,7 +60,7 @@ $I->fillField('#aMail', 'admin@admin.net');
$I->submitForm('#body', [
'act' => 'procInstall',
'time_zone' => '+0900',
'db_type' => 'mysqli',
'db_type' => 'mysqli_innodb',
'email_address' => 'admin@admin.net',
'password' => 'admin',
'password2' => 'admin',