0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Fixed members tests

no issue
This commit is contained in:
Rish 2020-02-14 16:06:25 +05:30
parent c5833aa1d9
commit fede3d05f5
2 changed files with 2 additions and 1 deletions

View file

@ -53,7 +53,7 @@ const Member = ghostBookshelf.Model.extend({
this.handleAttachedModels(model); this.handleAttachedModels(model);
}, },
onSaving: function onSaving(model, attr, options) { onSaving: function onSaving(model, attr, options) {
let labelsToSave; let labelsToSave = [];
let ops = []; let ops = [];
// CASE: detect lowercase/uppercase label slugs // CASE: detect lowercase/uppercase label slugs

View file

@ -56,6 +56,7 @@ const expectedProperties = {
member: _(schema.members) member: _(schema.members)
.keys() .keys()
.concat('comped') .concat('comped')
.concat('labels')
, ,
role: _(schema.roles) role: _(schema.roles)
.keys() .keys()