Move state enums to the model code

This commit is contained in:
Girish Ramakrishnan
2019-08-30 13:12:49 -07:00
parent b4cbf63519
commit dd0fb8292c
15 changed files with 118 additions and 156 deletions

View File

@@ -216,7 +216,7 @@ describe('updatechecker - app - manual (email)', function () {
var APP_0 = {
id: 'appid-0',
appStoreId: 'io.cloudron.app',
installationState: appdb.ISTATE_PENDING_INSTALL,
installationState: apps.ISTATE_PENDING_INSTALL,
error: null,
runState: null,
location: 'some-location-0',
@@ -323,7 +323,7 @@ describe('updatechecker - app - automatic (no email)', function () {
var APP_0 = {
id: 'appid-0',
appStoreId: 'io.cloudron.app',
installationState: appdb.ISTATE_PENDING_INSTALL,
installationState: apps.ISTATE_PENDING_INSTALL,
error: null,
runState: null,
location: 'some-location-0',
@@ -386,7 +386,7 @@ describe('updatechecker - app - automatic free (email)', function () {
var APP_0 = {
id: 'appid-0',
appStoreId: 'io.cloudron.app',
installationState: appdb.ISTATE_PENDING_INSTALL,
installationState: apps.ISTATE_PENDING_INSTALL,
error: null,
runState: null,
location: 'some-location-0',