From 04d729df92315d8ecc2376cf67d5e147d2217885 Mon Sep 17 00:00:00 2001 From: Tuan Dang Date: Mon, 26 Feb 2024 20:05:40 -0800 Subject: [PATCH] Update seed username --- backend/src/db/seed-data.ts | 1 + backend/src/db/seeds/1-user.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/backend/src/db/seed-data.ts b/backend/src/db/seed-data.ts index 6406e44ab..5f4ea1b4f 100644 --- a/backend/src/db/seed-data.ts +++ b/backend/src/db/seed-data.ts @@ -21,6 +21,7 @@ export let userPublicKey: string | undefined; export const seedData1 = { id: "3dafd81d-4388-432b-a4c5-f735616868c1", + username: process.env.TEST_USER_USERNAME || "test@localhost.local", email: process.env.TEST_USER_EMAIL || "test@localhost.local", password: process.env.TEST_USER_PASSWORD || "testInfisical@1", organization: { diff --git a/backend/src/db/seeds/1-user.ts b/backend/src/db/seeds/1-user.ts index 8e2b00b90..df689f75c 100644 --- a/backend/src/db/seeds/1-user.ts +++ b/backend/src/db/seeds/1-user.ts @@ -17,6 +17,7 @@ export async function seed(knex: Knex): Promise { // eslint-disable-next-line // @ts-ignore id: seedData1.id, + username: seedData1.username, email: seedData1.email, superAdmin: true, firstName: "test",