Do not configure/restore errored apps automatically
This commit is contained in:
@@ -378,7 +378,7 @@ describe('Apps', function () {
|
||||
|
||||
apps.getAll(function (error, result) {
|
||||
expect(result[0].installationState).to.be(apps.ISTATE_PENDING_CONFIGURE);
|
||||
expect(result[1].installationState).to.be(apps.ISTATE_PENDING_CONFIGURE); // erorred app can be reconfigured after restore
|
||||
expect(result[1].installationState).to.be(apps.ISTATE_ERROR);
|
||||
expect(result[2].installationState).to.be(apps.ISTATE_PENDING_CONFIGURE);
|
||||
|
||||
done();
|
||||
@@ -402,7 +402,7 @@ describe('Apps', function () {
|
||||
|
||||
apps.getAll(function (error, result) {
|
||||
expect(result[0].installationState).to.be(apps.ISTATE_PENDING_RESTORE);
|
||||
expect(result[1].installationState).to.be(apps.ISTATE_PENDING_RESTORE);
|
||||
expect(result[1].installationState).to.be(apps.ISTATE_ERROR);
|
||||
expect(result[2].installationState).to.be(apps.ISTATE_PENDING_RESTORE);
|
||||
|
||||
done();
|
||||
|
||||
Reference in New Issue
Block a user