errored apps can be reconfigured
this is especially true when coming from a restore because the app always has a good backup anyway.
This commit is contained in:
@@ -343,7 +343,8 @@ describe('Apps', function () {
|
||||
apps.getAll(function (error, apps) {
|
||||
expect(apps[0].installationState).to.be(appdb.ISTATE_PENDING_CONFIGURE);
|
||||
expect(apps[0].oldConfig).to.be(null);
|
||||
expect(apps[1].installationState).to.be(appdb.ISTATE_ERROR);
|
||||
expect(apps[1].installationState).to.be(appdb.ISTATE_PENDING_CONFIGURE); // erorred app can be reconfigured after restore
|
||||
expect(apps[1].oldConfig).to.be(null);
|
||||
expect(apps[2].installationState).to.be(appdb.ISTATE_PENDING_CONFIGURE);
|
||||
expect(apps[2].oldConfig).to.be(null);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user