Always pass restoreConfig for the restore case

This commit is contained in:
Girish Ramakrishnan
2019-09-30 09:30:49 -07:00
parent fc90829ba2
commit c3c9c2f39a
3 changed files with 18 additions and 10 deletions

View File

@@ -407,9 +407,9 @@ describe('Apps', function () {
expect(error).to.be(null);
apps.getAll(function (error, result) {
expect(result[0].installationState).to.be(apps.ISTATE_PENDING_RESTORE);
expect(result[0].installationState).to.be(apps.ISTATE_PENDING_INSTALL);
expect(result[1].installationState).to.be(apps.ISTATE_ERROR);
expect(result[2].installationState).to.be(apps.ISTATE_PENDING_RESTORE);
expect(result[2].installationState).to.be(apps.ISTATE_PENDING_INSTALL);
done();
});