Make tests work

the namecheap test never seems to work
This commit is contained in:
Girish Ramakrishnan
2019-03-23 09:46:04 -07:00
parent bec63c1ad0
commit 9647ce153d
6 changed files with 47 additions and 39 deletions

View File

@@ -142,28 +142,28 @@ describe('database', function () {
var NOTIFICATION_0 = {
userId: USER_0.id,
eventId: EVENT_0.id,
title: 'first one',
title: 'title z', // titles are this way for ordering
message: 'some message there',
};
var NOTIFICATION_1 = {
userId: USER_0.id,
eventId: EVENT_1.id,
title: 'second one',
title: 'title y',
message: 'some message there',
};
var NOTIFICATION_2 = {
userId: USER_1.id,
eventId: EVENT_2.id,
title: 'third one',
title: 'title x',
message: 'some message there',
};
var NOTIFICATION_3 = {
userId: USER_0.id,
eventId: null,
title: 'third one',
title: 'title w',
message: 'some message there',
};