diff --git a/backend/tests/login.test.ts b/backend/tests/login.test.ts index 18ace5c..1cdf964 100644 --- a/backend/tests/login.test.ts +++ b/backend/tests/login.test.ts @@ -53,7 +53,7 @@ describe("Tests", () => { const { status, body } = await request(app).post("/auth/register").send({ username: "shinjisatoo", password: "testpassword", - email: "longseason1996@gmail.com", + email: "longseason1997@gmail.com", userType: "ATTENDEE", }); diff --git a/backend/tests/register.test.ts b/backend/tests/register.test.ts index cef43b6..12e81a8 100644 --- a/backend/tests/register.test.ts +++ b/backend/tests/register.test.ts @@ -18,7 +18,7 @@ describe("Tests", () => { const { status, body } = await request(app).post("/auth/register").send({ username: "shinjisatoo", password: "testpassword", - email: "longseason1996@gmail.com", + email: "longseason1997@gmail.com", userType: "ATTENDEE", }); diff --git a/backend/vitest.config.integration.ts b/backend/vitest.config.integration.ts index 0d6261f..c18baf9 100644 --- a/backend/vitest.config.integration.ts +++ b/backend/vitest.config.integration.ts @@ -6,6 +6,7 @@ export default defineConfig({ poolOptions: { threads: { maxThreads: 1, + singleThread: true } }, setupFiles: ['./tests/helpers/setup.ts']