configure/restoreInstalledApps must always succeed

This commit is contained in:
Girish Ramakrishnan
2016-06-16 06:38:47 -07:00
parent f15f3c9052
commit fee6f3de0f
3 changed files with 12 additions and 8 deletions

View File

@@ -369,7 +369,7 @@ describe('Apps', function () {
apps.getAll(function (error, apps) {
expect(apps[0].installationState).to.be(appdb.ISTATE_PENDING_RESTORE);
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_RESTORE);
expect(apps[2].installationState).to.be(appdb.ISTATE_PENDING_RESTORE);
expect(apps[2].oldConfig).to.be(null);