Change default settings=null to settings={}

This commit is contained in:
Chi Vinh Le
2017-11-20 20:19:58 +01:00
parent e675d716cb
commit 511e71f63a
3 changed files with 35 additions and 13 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ describe('services.AssetsService', () => {
.findOrCreateByUrl('https://override.test.com/asset')
.then((asset) => {
expect(asset).to.have.property('settings');
expect(asset.settings).to.be.null;
expect(asset.settings).to.be.empty;
return AssetsService.overrideSettings(asset.id, {moderation: 'PRE'});
})