forked from bai/curriculum-project-hub
feat: redesign Feishu project console
This commit is contained in:
@@ -118,7 +118,12 @@ describe("Feishu binding lifecycle events", () => {
|
||||
reason: "bot_removed",
|
||||
});
|
||||
await prisma.projectGroupBinding.create({
|
||||
data: { projectId: "project-rebound", chatId: "chat-rebound" },
|
||||
data: {
|
||||
organizationId: DEFAULT_ORG_ID,
|
||||
projectId: "project-rebound",
|
||||
chatId: "chat-rebound",
|
||||
selectedAgentRoleId: `agent_role_draft_${DEFAULT_ORG_ID}`,
|
||||
},
|
||||
});
|
||||
|
||||
await expect(archiveFeishuBindingForLifecycleEvent(prisma, {
|
||||
|
||||
Reference in New Issue
Block a user