Provide defaults for env vars

This commit is contained in:
Girish Ramakrishnan 2015-07-27 11:56:16 -07:00
parent 3c73d17264
commit d5f77ca116
1 changed files with 3 additions and 3 deletions

View File

@ -27,9 +27,9 @@ function verifyResponse(res, errorMessage) {
function getOwner() {
return {
username: process.env.APPSTORE_USERNAME,
password: process.env.APPSTORE_PASSWORD,
email: process.env.APPSTORE_EMAIL
username: process.env.APPSTORE_USERNAME || 'test',
password: process.env.APPSTORE_PASSWORD || 'test1234',
email: process.env.APPSTORE_EMAIL || 'test@cloudron.io'
};
}