mirror of
https://github.com/stack-auth/stack.git
synced 2026-07-20 21:29:36 +08:00
Clean up agent-auth migration test data
Co-Authored-By: madison@stack-auth.com <madison.w.kennedy@gmail.com>
This commit is contained in:
parent
c249153061
commit
6cadb1d848
@ -162,4 +162,13 @@ export const postMigration = async (sql: Sql, ctx: Awaited<ReturnType<typeof pre
|
||||
expect(Number(countsAfterDelete[0].host_count)).toBe(0);
|
||||
expect(Number(countsAfterDelete[0].agent_count)).toBe(0);
|
||||
expect(Number(countsAfterDelete[0].grant_count)).toBe(0);
|
||||
|
||||
await sql`
|
||||
DELETE FROM "Tenancy"
|
||||
WHERE "id" = ${ctx.tenancyId}::uuid
|
||||
`;
|
||||
await sql`
|
||||
DELETE FROM "Project"
|
||||
WHERE "id" = ${ctx.projectId}
|
||||
`;
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user