test with version 6.0.0

This commit is contained in:
Girish Ramakrishnan 2015-10-12 20:51:59 -07:00
parent 28e91074a7
commit 81a6ce62ed
4 changed files with 9 additions and 9 deletions

View File

@ -8,7 +8,7 @@ var debug = require('debug')('e2e:common'),
exports = module.exports = {
TESTAPP_ID: 'io.cloudron.testapp',
TESTAPP_VERSION : '5.0.0',
TESTAPP_VERSION : '6.0.0',
cloudronDomain: cloudronDomain,
verifyResponse: verifyResponse,

View File

@ -76,7 +76,7 @@ describe('Application flow test', function () {
});
it('can check the addons', function () {
var res = request.post('https://' + location + '-' + box.domain + '/check_addons').end();
var res = request.query({ username: owner.username, password: owner.password }).post('https://' + location + '-' + box.domain + '/check_addons').end();
assert.strictEqual(res.statusCode, 200);
assert.strictEqual(res.body.mysql, 'OK');
assert.strictEqual(res.body.postgresql, 'OK');
@ -93,7 +93,7 @@ describe('Application flow test', function () {
});
it('can check the addons', function () {
var res = request.post('https://' + location + '-' + box.domain + '/check_addons').end();
var res = request.query({ username: owner.username, password: owner.password }).post('https://' + location + '-' + box.domain + '/check_addons').end();
assert.strictEqual(res.statusCode, 200);
assert.strictEqual(res.body.mysql, 'OK');
assert.strictEqual(res.body.postgresql, 'OK');
@ -109,7 +109,7 @@ describe('Application flow test', function () {
});
it('can check the addons', function () {
var res = request.post('https://' + location + '-' + box.domain + '/check_addons').end();
var res = request.query({ username: owner.username, password: owner.password }).post('https://' + location + '-' + box.domain + '/check_addons').end();
assert.strictEqual(res.statusCode, 200);
assert.strictEqual(res.body.mysql, 'OK');
assert.strictEqual(res.body.postgresql, 'OK');

View File

@ -77,7 +77,7 @@ describe('Cloudron backup testing', function () {
});
it('can check the addons', function () {
var res = request.post('https://' + location + '-' + box.domain + '/check_addons').end();
var res = request.query({ username: owner.username, password: owner.password }).post('https://' + location + '-' + box.domain + '/check_addons').end();
assert.strictEqual(res.statusCode, 200);
assert.strictEqual(res.body.mysql, 'OK');
assert.strictEqual(res.body.postgresql, 'OK');
@ -117,7 +117,7 @@ describe('Cloudron backup testing', function () {
});
it('can check the addons', function () {
var res = request.post('https://' + location + '-' + box.domain + '/check_addons').end();
var res = request.query({ username: owner.username, password: owner.password }).post('https://' + location + '-' + box.domain + '/check_addons').end();
assert.strictEqual(res.statusCode, 200);
assert.strictEqual(res.body.mysql, 'OK');
assert.strictEqual(res.body.postgresql, 'OK');

View File

@ -92,7 +92,7 @@ describe('Cloudron update testing', function () {
});
it('can check the addons', function () {
var res = request.post('https://' + location + '-' + box.domain + '/check_addons').end();
var res = request.query({ username: owner.username, password: owner.password }).post('https://' + location + '-' + box.domain + '/check_addons').end();
assert.strictEqual(res.statusCode, 200);
assert.strictEqual(res.body.mysql, 'OK');
assert.strictEqual(res.body.postgresql, 'OK');
@ -112,7 +112,7 @@ describe('Cloudron update testing', function () {
});
it('can check the addons', function () {
var res = request.post('https://' + location + '-' + box.domain + '/check_addons').end();
var res = request.query({ username: owner.username, password: owner.password }).post('https://' + location + '-' + box.domain + '/check_addons').end();
assert.strictEqual(res.statusCode, 200);
assert.strictEqual(res.body.mysql, 'OK');
assert.strictEqual(res.body.postgresql, 'OK');
@ -134,7 +134,7 @@ describe('Cloudron update testing', function () {
});
it('can check the addons', function () {
var res = request.post('https://' + location + '-' + box.domain + '/check_addons').end();
var res = request.query({ username: owner.username, password: owner.password }).post('https://' + location + '-' + box.domain + '/check_addons').end();
assert.strictEqual(res.statusCode, 200);
assert.strictEqual(res.body.mysql, 'OK');
assert.strictEqual(res.body.postgresql, 'OK');