mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
More cleanup of unit tests
This commit is contained in:
parent
4776078c11
commit
8ad16890da
4 changed files with 5 additions and 21 deletions
|
|
@ -20,8 +20,8 @@ before_script:
|
||||||
- if [ $(phpenv version-name) == "5.4" ]; then wget http://codeception.com/releases/2.0.16/codecept.phar; fi
|
- if [ $(phpenv version-name) == "5.4" ]; then wget http://codeception.com/releases/2.0.16/codecept.phar; fi
|
||||||
- if [ ! -f codecept.phar ]; then wget http://codeception.com/codecept.phar; fi
|
- if [ ! -f codecept.phar ]; then wget http://codeception.com/codecept.phar; fi
|
||||||
script:
|
script:
|
||||||
- grunt lint
|
|
||||||
- if [ -f codecept.phar ]; then php codecept.phar build; fi
|
- if [ -f codecept.phar ]; then php codecept.phar build; fi
|
||||||
- if [ -f codecept.phar ]; then php codecept.phar run -d --fail-fast --env travis; fi
|
- if [ -f codecept.phar ]; then php codecept.phar run -d --fail-fast --env travis; fi
|
||||||
|
- grunt lint
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
|
|
||||||
16
package.json
16
package.json
|
|
@ -1,16 +0,0 @@
|
||||||
{
|
|
||||||
"name": "RhymiX",
|
|
||||||
"author": "NAVER, RhymiX Developers and Contributors",
|
|
||||||
"license": "GNU LGPL",
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "git://github.com/rhymix/rhymix.git"
|
|
||||||
},
|
|
||||||
"bugs": {
|
|
||||||
"url": "https://github.com/rhymix/rhymix/issues"
|
|
||||||
},
|
|
||||||
"main": "Gruntfile.js",
|
|
||||||
"scripts": {
|
|
||||||
"test": "grunt"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -28,7 +28,7 @@ $install_config = array(
|
||||||
'db_userid' => $dbinfo['user'],
|
'db_userid' => $dbinfo['user'],
|
||||||
'db_password' => $dbinfo['password'],
|
'db_password' => $dbinfo['password'],
|
||||||
'db_database' => $dbinfo['dbname'],
|
'db_database' => $dbinfo['dbname'],
|
||||||
'db_table_prefix' =>'xe_',
|
'db_table_prefix' =>'rx',
|
||||||
'use_rewrite' =>'N',
|
'use_rewrite' =>'N',
|
||||||
'time_zone' =>'0900',
|
'time_zone' =>'0900',
|
||||||
'email_address' =>'admin@admin.net',
|
'email_address' =>'admin@admin.net',
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ $dbinfo = [
|
||||||
'type' => $db_type,
|
'type' => $db_type,
|
||||||
'user' => $db_config['user'],
|
'user' => $db_config['user'],
|
||||||
'password' => $db_config['password'],
|
'password' => $db_config['password'],
|
||||||
'dbname' => 'xe_install',
|
'dbname' => 'rhymix',
|
||||||
'port' => ((isset($db_config['port']) && $db_config['port'])?: 3306),
|
'port' => ((isset($db_config['port']) && $db_config['port'])?: 3306),
|
||||||
];
|
];
|
||||||
foreach($dsn as $piece) {
|
foreach($dsn as $piece) {
|
||||||
|
|
@ -27,7 +27,7 @@ if(\Filehandler::exists(_XE_PATH_ . 'config/install.config.php')) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Step 1 : License Agreement
|
// Step 1 : License Agreement
|
||||||
$I->wantTo('Install XE Core');
|
$I->wantTo('Install RhymiX');
|
||||||
$I->amOnPage('/index.php?l=ko');
|
$I->amOnPage('/index.php?l=ko');
|
||||||
$I->setCookie('l', 'ko');
|
$I->setCookie('l', 'ko');
|
||||||
$I->seeElement('//div[@id="progress"]/ul/li[1][@class="active"]');
|
$I->seeElement('//div[@id="progress"]/ul/li[1][@class="active"]');
|
||||||
|
|
@ -50,7 +50,7 @@ $I->submitForm('#body', [
|
||||||
'db_userid' => $dbinfo['user'],
|
'db_userid' => $dbinfo['user'],
|
||||||
'db_password' => $dbinfo['password'],
|
'db_password' => $dbinfo['password'],
|
||||||
'db_database' => $dbinfo['dbname'],
|
'db_database' => $dbinfo['dbname'],
|
||||||
'db_table_prefix' => 'xe'
|
'db_table_prefix' => 'rx'
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// Step 4 : Create Admin Account
|
// Step 4 : Create Admin Account
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue