test: fix front-end tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -134,6 +134,7 @@ export const loginMock = {
|
||||
__typename: "Config",
|
||||
auth: {
|
||||
__typename: "Auth",
|
||||
databaseLogin: true,
|
||||
oauthProviders: [],
|
||||
},
|
||||
registrationsOpen: true,
|
||||
|
||||
@@ -106,6 +106,7 @@ export const eventCommentThreadsMock = {
|
||||
},
|
||||
deletedAt: null,
|
||||
insertedAt: "2020-12-03T09:02:00Z",
|
||||
publishedAt: "2020-12-03T09:02:00Z",
|
||||
isAnnouncement: false,
|
||||
language: "en",
|
||||
},
|
||||
@@ -137,6 +138,7 @@ export const eventCommentThreadsMock = {
|
||||
},
|
||||
deletedAt: null,
|
||||
insertedAt: "2020-12-03T11:02:00Z",
|
||||
publishedAt: "2020-12-03T11:02:00Z",
|
||||
isAnnouncement: false,
|
||||
language: "en",
|
||||
},
|
||||
@@ -164,7 +166,6 @@ export const newCommentForEventResponse: DataMock = {
|
||||
local: true,
|
||||
visibility: "PUBLIC",
|
||||
totalReplies: 0,
|
||||
updatedAt: "2020-12-03T13:02:00Z",
|
||||
originComment: null,
|
||||
inReplyToComment: null,
|
||||
replies: [],
|
||||
@@ -183,6 +184,8 @@ export const newCommentForEventResponse: DataMock = {
|
||||
},
|
||||
deletedAt: null,
|
||||
insertedAt: "2020-12-03T13:02:00Z",
|
||||
updatedAt: "2020-12-03T13:02:00Z",
|
||||
publishedAt: "2020-12-03T13:02:00Z",
|
||||
isAnnouncement: false,
|
||||
language: "en",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user