test(db): merge the factory imports of the newly ported integration suites

One import per module, and the resetTestDb import that no longer has a
caller dropped.
This commit is contained in:
Maurice
2026-11-17 18:15:31 +01:00
parent 88c2b8b991
commit 965a7f2ea8
9 changed files with 15 additions and 32 deletions
+2 -3
View File
@@ -15,10 +15,9 @@ import type { FactoryOrm } from '../helpers/factories/context';
import { findRows, updateRows } from '../helpers/factories/rows';
import { setAppSetting } from '../helpers/factories/settings';
import { makeTrip } from '../helpers/factories/trips';
import { makeUser } from '../helpers/factories/users';
import { readUser } from '../helpers/factories/users';
import { makeUser, readUser } from '../helpers/factories/users';
import { resetDatabase } from '../helpers/reset-database';
import { resetTestDb, resetRateLimits } from '../helpers/test-db';
import { resetRateLimits } from '../helpers/test-db';
import { MikroORM } from '@mikro-orm/core';
import type { INestApplication } from '@nestjs/common';