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
@@ -14,8 +14,7 @@ import { authCookie } from '../helpers/auth';
import type { FactoryOrm } from '../helpers/factories/context';
import { insertRow, updateRows } from '../helpers/factories/rows';
import { setAppSetting } from '../helpers/factories/settings';
import { makeAdmin } from '../helpers/factories/users';
import { makeUser } from '../helpers/factories/users';
import { makeAdmin, makeUser } from '../helpers/factories/users';
import { resetDatabase } from '../helpers/reset-database';
import { MikroORM } from '@mikro-orm/core';
import type { INestApplication } from '@nestjs/common';