mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-06 09:59:00 +02:00
Remove touchedAt
This commit is contained in:
parent
0867f13b07
commit
7efd8fc287
1 changed files with 0 additions and 5 deletions
|
@ -96,7 +96,6 @@ test.describe("House-keeping API", () => {
|
||||||
participantUrlId: "old-poll-regular-user-participant",
|
participantUrlId: "old-poll-regular-user-participant",
|
||||||
adminUrlId: "old-poll-regular-user-admin",
|
adminUrlId: "old-poll-regular-user-admin",
|
||||||
userId: regularUser.id,
|
userId: regularUser.id,
|
||||||
touchedAt: dayjs().subtract(35, "day").toDate(), // 35 days old
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
createdPollIds.push(oldPollRegularUser.id);
|
createdPollIds.push(oldPollRegularUser.id);
|
||||||
|
@ -109,7 +108,6 @@ test.describe("House-keeping API", () => {
|
||||||
participantUrlId: "old-poll-pro-user-participant",
|
participantUrlId: "old-poll-pro-user-participant",
|
||||||
adminUrlId: "old-poll-pro-user-admin",
|
adminUrlId: "old-poll-pro-user-admin",
|
||||||
userId: proUser.id,
|
userId: proUser.id,
|
||||||
touchedAt: dayjs().subtract(35, "day").toDate(), // 35 days old
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
createdPollIds.push(oldPollProUser.id);
|
createdPollIds.push(oldPollProUser.id);
|
||||||
|
@ -122,7 +120,6 @@ test.describe("House-keeping API", () => {
|
||||||
participantUrlId: "recent-poll-regular-user-participant",
|
participantUrlId: "recent-poll-regular-user-participant",
|
||||||
adminUrlId: "recent-poll-regular-user-admin",
|
adminUrlId: "recent-poll-regular-user-admin",
|
||||||
userId: regularUser.id,
|
userId: regularUser.id,
|
||||||
touchedAt: dayjs().subtract(15, "day").toDate(), // 15 days old
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
createdPollIds.push(recentPollRegularUser.id);
|
createdPollIds.push(recentPollRegularUser.id);
|
||||||
|
@ -135,7 +132,6 @@ test.describe("House-keeping API", () => {
|
||||||
participantUrlId: "old-poll-with-future-options-participant",
|
participantUrlId: "old-poll-with-future-options-participant",
|
||||||
adminUrlId: "old-poll-with-future-options-admin",
|
adminUrlId: "old-poll-with-future-options-admin",
|
||||||
userId: regularUser.id,
|
userId: regularUser.id,
|
||||||
touchedAt: dayjs().subtract(35, "day").toDate(), // 35 days old
|
|
||||||
options: {
|
options: {
|
||||||
create: {
|
create: {
|
||||||
startTime: dayjs().add(10, "day").toDate(), // Future date
|
startTime: dayjs().add(10, "day").toDate(), // Future date
|
||||||
|
@ -153,7 +149,6 @@ test.describe("House-keeping API", () => {
|
||||||
title: "Old Poll No User",
|
title: "Old Poll No User",
|
||||||
participantUrlId: "old-poll-no-user-participant",
|
participantUrlId: "old-poll-no-user-participant",
|
||||||
adminUrlId: "old-poll-no-user-admin",
|
adminUrlId: "old-poll-no-user-admin",
|
||||||
touchedAt: dayjs().subtract(35, "day").toDate(), // 35 days old
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
createdPollIds.push(oldPollNoUser.id);
|
createdPollIds.push(oldPollNoUser.id);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue