mirror of
https://github.com/wassname/talk.git
synced 2026-07-26 13:37:38 +08:00
Change default settings=null to settings={}
This commit is contained in:
@@ -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'});
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user