Skip to content

Commit

Permalink
Check if hardcoded values works.
Browse files Browse the repository at this point in the history
  • Loading branch information
Carifio24 committed Sep 29, 2024
1 parent 1e64ba2 commit 3997a3b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ export async function createMySQLConnection(): Promise<Connection> {

export async function setupTestDatabase(): Promise<Sequelize> {
config();
const username = process.env.TEST_DB_USERNAME as string;
const password = process.env.TEST_DB_PASSWORD as string;
const host = process.env.TEST_DB_HOSTNAME as string;
const username = "root";
const password = "root";
const host = "127.0.0.1";
// const connection = await createMySQLConnection();
// await connection.query("CREATE DATABASE IF NOT EXISTS test;");
const db = getDatabaseConnection({
Expand Down

0 comments on commit 3997a3b

Please sign in to comment.