add Cloudron.populateAddons
This commit is contained in:
parent
d0988a390d
commit
79ead77d87
@ -407,6 +407,15 @@ Cloudron.prototype.checkDMARC = function (callback) {
|
||||
});
|
||||
};
|
||||
|
||||
Cloudron.prototype.populateAddons = function (location) {
|
||||
var res = request.post('https://' + this.appFqdn(location) + '/populate_addons').end();
|
||||
|
||||
assert.strictEqual(res.statusCode, 200);
|
||||
for (var addon in res.body) {
|
||||
assert.strictEqual(res.body[addon], 'OK');
|
||||
}
|
||||
};
|
||||
|
||||
Cloudron.prototype.checkAddons = function (location, owner) {
|
||||
var lastError;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user