Removed active and installed apps default settings

no-issue
This commit is contained in:
Fabien O'Carroll 2019-04-15 14:35:15 +02:00
parent 4a22fcf73a
commit f74d459dad
2 changed files with 3 additions and 11 deletions

View File

@ -103,14 +103,6 @@
"defaultValue": "casper"
}
},
"app": {
"active_apps": {
"defaultValue": "[]"
},
"installed_apps": {
"defaultValue": "[]"
}
},
"private": {
"is_private": {
"defaultValue": "false",

View File

@ -113,7 +113,7 @@ describe('Unit: models/settings', function () {
return models.Settings.populateDefaults()
.then(() => {
eventSpy.callCount.should.equal(64);
eventSpy.callCount.should.equal(60);
eventSpy.args[1][0].should.equal('settings.db_hash.added');
eventSpy.args[1][1].attributes.type.should.equal('core');
@ -122,7 +122,7 @@ describe('Unit: models/settings', function () {
eventSpy.args[11][1].attributes.type.should.equal('blog');
eventSpy.args[11][1].attributes.value.should.equal('The professional publishing platform');
eventSpy.args[63][0].should.equal('settings.members_subscription_settings.added');
eventSpy.args[59][0].should.equal('settings.members_subscription_settings.added');
});
});
@ -136,7 +136,7 @@ describe('Unit: models/settings', function () {
return models.Settings.populateDefaults()
.then(() => {
eventSpy.callCount.should.equal(62);
eventSpy.callCount.should.equal(58);
eventSpy.args[11][0].should.equal('settings.logo.added');
});