mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Updated unit tests for frontend member data
This commit is contained in:
parent
56eb7a822f
commit
ace4d17b3e
1 changed files with 8 additions and 4 deletions
|
@ -27,7 +27,8 @@ describe('Members Service - utils', function () {
|
|||
email_suppression: {
|
||||
suppressed: false,
|
||||
info: null
|
||||
}
|
||||
},
|
||||
created_at: '2020-01-01T00:00:00.000Z'
|
||||
});
|
||||
should(member1).deepEqual({
|
||||
uuid: 'uuid-1',
|
||||
|
@ -43,7 +44,8 @@ describe('Members Service - utils', function () {
|
|||
email_suppression: {
|
||||
suppressed: false,
|
||||
info: null
|
||||
}
|
||||
},
|
||||
created_at: '2020-01-01T00:00:00.000Z'
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -65,7 +67,8 @@ describe('Members Service - utils', function () {
|
|||
sender_email: 'jamie@example.com',
|
||||
sort_order: 0
|
||||
}],
|
||||
enable_comment_notifications: false
|
||||
enable_comment_notifications: false,
|
||||
created_at: '2020-01-01T00:00:00.000Z'
|
||||
});
|
||||
should(member1).deepEqual({
|
||||
uuid: 'uuid-1',
|
||||
|
@ -83,7 +86,8 @@ describe('Members Service - utils', function () {
|
|||
description: 'One email daily',
|
||||
sort_order: 0
|
||||
}],
|
||||
enable_comment_notifications: false
|
||||
enable_comment_notifications: false,
|
||||
created_at: '2020-01-01T00:00:00.000Z'
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue