test with version 6.0.0
This commit is contained in:
parent
28e91074a7
commit
81a6ce62ed
@ -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,
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user