Fix platform update logic

This commit is contained in:
Girish Ramakrishnan
2019-09-24 20:29:01 -07:00
parent 00fd9e5b7f
commit 85c13cae58
9 changed files with 80 additions and 50 deletions

View File

@@ -118,7 +118,9 @@ describe('Apps', function () {
env: {
'CUSTOM_KEY': 'CUSTOM_VALUE'
},
dataDir: ''
dataDir: '',
installationState: 'installed',
runState: 'running'
};
var APP_1 = {
@@ -135,7 +137,9 @@ describe('Apps', function () {
accessRestriction: { users: [ 'someuser' ], groups: [ GROUP_0.id ] },
memoryLimit: 0,
env: {},
dataDir: ''
dataDir: '',
installationState: 'installed',
runState: 'running'
};
var APP_2 = {
@@ -154,7 +158,9 @@ describe('Apps', function () {
robotsTxt: null,
sso: false,
env: {},
dataDir: ''
dataDir: '',
installationState: 'installed',
runState: 'running'
};
before(function (done) {
@@ -396,7 +402,7 @@ describe('Apps', function () {
], done);
});
it('can mark apps for reconfigure', function (done) {
it('can mark apps for restore', function (done) {
apps.restoreInstalledApps(function (error) {
expect(error).to.be(null);