From 8e9beac59f3d6628fa2bb800dc54d9d4d1089159 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Tue, 8 Aug 2023 23:12:41 -0400 Subject: [PATCH] test --- plugins/email/server/auth/email.test.ts | 12 ++++++------ server/routes/api/auth/auth.test.ts | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/plugins/email/server/auth/email.test.ts b/plugins/email/server/auth/email.test.ts index f9c87d09e4..26d713debf 100644 --- a/plugins/email/server/auth/email.test.ts +++ b/plugins/email/server/auth/email.test.ts @@ -60,7 +60,7 @@ describe("email", () => { email: user.email, }, headers: { - host: "example.localoutline.com", + host: "example.outline.dev", }, }); const body = await res.json(); @@ -85,7 +85,7 @@ describe("email", () => { email: user.email, }, headers: { - host: "example.localoutline.com", + host: "example.outline.dev", }, }); @@ -109,7 +109,7 @@ describe("email", () => { email: user.email, }, headers: { - host: "example.localoutline.com", + host: "example.outline.dev", }, }); const body = await res.json(); @@ -129,7 +129,7 @@ describe("email", () => { email: "user@example.com", }, headers: { - host: "example.localoutline.com", + host: "example.outline.dev", }, }); const body = await res.json(); @@ -159,7 +159,7 @@ describe("email", () => { email, }, headers: { - host: "example.localoutline.com", + host: "example.outline.dev", }, }); const body = await res.json(); @@ -189,7 +189,7 @@ describe("email", () => { email, }, headers: { - host: "example.localoutline.com", + host: "example.outline.dev", }, }); const body = await res.json(); diff --git a/server/routes/api/auth/auth.test.ts b/server/routes/api/auth/auth.test.ts index 811aa14cc2..b95a0c85d5 100644 --- a/server/routes/api/auth/auth.test.ts +++ b/server/routes/api/auth/auth.test.ts @@ -121,7 +121,7 @@ describe("#auth.config", () => { }); const res = await server.post("/api/auth.config", { headers: { - host: `example.localoutline.com`, + host: `example.outline.dev`, }, }); const body = await res.json(); @@ -170,7 +170,7 @@ describe("#auth.config", () => { }); const res = await server.post("/api/auth.config", { headers: { - host: "example.localoutline.com", + host: "example.outline.dev", }, }); const body = await res.json(); @@ -197,7 +197,7 @@ describe("#auth.config", () => { }); const res = await server.post("/api/auth.config", { headers: { - host: "example.localoutline.com", + host: "example.outline.dev", }, }); const body = await res.json();