box.name -> box.domain

This commit is contained in:
Girish Ramakrishnan 2015-06-15 21:50:50 -07:00
parent 98a61eceae
commit 85b4384167
2 changed files with 6 additions and 6 deletions

View File

@ -75,7 +75,7 @@ describe('Application flow test', function () {
});
it('can populate the addons', function () {
var res = request.post('https://test-' + box.name + '/populate_addons').end();
var res = request.post('https://test-' + box.domain + '/populate_addons').end();
assert.strictEqual(res.statusCode, 200);
assert.strictEqual(res.body.mysql, 'OK');
assert.strictEqual(res.body.postgresql, 'OK');
@ -83,7 +83,7 @@ describe('Application flow test', function () {
});
it('can check the addons', function () {
var res = request.post('https://test-' + box.name + '/check_addons').end();
var res = request.post('https://test-' + box.domain + '/check_addons').end();
assert.strictEqual(res.statusCode, 200);
assert.strictEqual(res.body.mysql, 'OK');
assert.strictEqual(res.body.postgresql, 'OK');
@ -95,7 +95,7 @@ describe('Application flow test', function () {
});
it('can check the addons', function () {
var res = request.post('https://test-' + box.name + '/check_addons').end();
var res = request.post('https://test-' + box.domain + '/check_addons').end();
assert.strictEqual(res.statusCode, 200);
assert.strictEqual(res.body.mysql, 'OK');
assert.strictEqual(res.body.postgresql, 'OK');

View File

@ -78,7 +78,7 @@ describe('Cloudron update testing', function () {
});
it('can populate the addons', function () {
var res = request.post('https://test-' + box.name + '/populate_addons').end();
var res = request.post('https://test-' + box.domain + '/populate_addons').end();
assert.strictEqual(res.statusCode, 200);
assert.strictEqual(res.body.mysql, 'OK');
assert.strictEqual(res.body.postgresql, 'OK');
@ -86,7 +86,7 @@ describe('Cloudron update testing', function () {
});
it('can check the addons', function () {
var res = request.post('https://test-' + box.name + '/check_addons').end();
var res = request.post('https://test-' + box.domain + '/check_addons').end();
assert.strictEqual(res.statusCode, 200);
assert.strictEqual(res.body.mysql, 'OK');
assert.strictEqual(res.body.postgresql, 'OK');
@ -98,7 +98,7 @@ describe('Cloudron update testing', function () {
});
it('can check the addons', function () {
var res = request.post('https://test-' + box.name + '/check_addons').end();
var res = request.post('https://test-' + box.domain + '/check_addons').end();
assert.strictEqual(res.statusCode, 200);
assert.strictEqual(res.body.mysql, 'OK');
assert.strictEqual(res.body.postgresql, 'OK');