Database
Updated to just use DATABASE_* in everything other than local docker.
This commit is contained in:
19 files changed
+120
-56
No files matched your search
@@ -31,7 +31,7 @@ test.describe.serial("barber operations journeys", () => {
|
||||
// safety net removes them directly regardless of how the tests above
|
||||
// exited, on top of (not instead of) each test's own UI-driven cleanup.
|
||||
test.afterAll(async () => {
|
||||
const pool = createPool(buildMysqlPoolConfig(process.env.DATABASE_URL));
|
||||
const pool = createPool(buildMysqlPoolConfig());
|
||||
await pool.query("DELETE FROM `TimeOff` WHERE reason = 'E2E conflict test'");
|
||||
await pool.query("DELETE FROM `Break` WHERE label = 'Afternoon tea'");
|
||||
await pool.end();
|
||||
|
||||
Reference in new issue
Block a user