Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update expiration time in retrieve-link and update-link tests

Kiran K0c30ae6b9984
diff --git a/apps/web/tests/links/retrieve-link.test.ts b/apps/web/tests/links/retrieve-link.test.ts
index 13901be728..d961fd8829 100644
--- a/apps/web/tests/links/retrieve-link.test.ts
+++ b/apps/web/tests/links/retrieve-link.test.ts
@@ -46,7 +46,7 @@ test("GET /links/info", async (ctx) => {
projectId,
workspaceId,
userId: user.id,
- expiresAt: "2030-04-16T18:29:59.000Z",
+ expiresAt: "2030-04-16T23:59:59.000Z",
shortLink: `https://${domain}/${newLink.key}`,
qrCode: `https://api.dub.co/qr?url=https://${domain}/${newLink.key}?qr=1`,
tags: [],
diff --git a/apps/web/tests/links/update-link.test.ts b/apps/web/tests/links/update-link.test.ts
index e6d0b0dccf..829d680f2e 100644
--- a/apps/web/tests/links/update-link.test.ts
+++ b/apps/web/tests/links/update-link.test.ts
@@ -51,7 +51,7 @@ describe("PUT /links/{linkId}", async () => {
expect(updatedLink).toStrictEqual({
...expectedLink,
...newLink,
- expiresAt: "2030-04-16T18:29:59.000Z",
+ expiresAt: "2030-04-16T23:59:59.000Z",
domain,
projectId,
workspaceId,