0
Fork 0
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:
Rishabh 2023-04-04 23:51:45 +05:30
parent 56eb7a822f
commit ace4d17b3e

View file

@ -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'
});
});
});