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:
Girish Ramakrishnan
2016-06-20 15:07:55 -05:00
parent 6bc14ea7e4
commit b723f9e768

View File

@@ -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);