diff --git a/src/test/apps-test.js b/src/test/apps-test.js index cc41e137c..9387c1758 100644 --- a/src/test/apps-test.js +++ b/src/test/apps-test.js @@ -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);