Skip to content

Commit 99189f2

Browse files
committed
fix(projects): clean up automatically created fixture Projects
1 parent c1c8e5d commit 99189f2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎apps/sim/lib/knowledge/__integration__/search-source-setup.integration.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import {
66
knowledgeConnector,
77
mcpServers,
88
permissions,
9+
project,
910
resourcePolicy,
1011
user,
1112
workspace,
@@ -96,6 +97,7 @@ describe('Search source identity and concurrent creation', () => {
9697
await db.delete(workspace).where(eq(workspace.id, ids.workspaceId))
9798
await db.delete(workspace).where(eq(workspace.id, other.workspaceId))
9899
for (const id of [ids.aliceId, ids.bobId, other.aliceId, other.bobId]) {
100+
await db.delete(project).where(eq(project.ownerId, id))
99101
await db.delete(user).where(eq(user.id, id))
100102
}
101103
})

0 commit comments

Comments
 (0)