More cleanup of unit tests

This commit is contained in:
Kijin Sung 2016-01-11 16:16:38 +09:00
parent 4776078c11
commit 8ad16890da
4 changed files with 5 additions and 21 deletions

View file

@ -14,7 +14,7 @@ $dbinfo = [
'type' => $db_type,
'user' => $db_config['user'],
'password' => $db_config['password'],
'dbname' => 'xe_install',
'dbname' => 'rhymix',
'port' => ((isset($db_config['port']) && $db_config['port'])?: 3306),
];
foreach($dsn as $piece) {
@ -27,7 +27,7 @@ if(\Filehandler::exists(_XE_PATH_ . 'config/install.config.php')) {
}
// Step 1 : License Agreement
$I->wantTo('Install XE Core');
$I->wantTo('Install RhymiX');
$I->amOnPage('/index.php?l=ko');
$I->setCookie('l', 'ko');
$I->seeElement('//div[@id="progress"]/ul/li[1][@class="active"]');
@ -50,7 +50,7 @@ $I->submitForm('#body', [
'db_userid' => $dbinfo['user'],
'db_password' => $dbinfo['password'],
'db_database' => $dbinfo['dbname'],
'db_table_prefix' => 'xe'
'db_table_prefix' => 'rx'
]);
// Step 4 : Create Admin Account