Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

test(integrations): seed a valid provider repository binding

Tin0a25118f3e2f
diff --git a/tests/api-integration/provider-board-live-updates.test.ts b/tests/api-integration/provider-board-live-updates.test.ts
index 053d620ed..20189dc8e 100644
--- a/tests/api-integration/provider-board-live-updates.test.ts
+++ b/tests/api-integration/provider-board-live-updates.test.ts
@@ -87,7 +87,12 @@ it.each([
.values({
projectId: project.id,
type: provider,
- config: "{}",
+ config: JSON.stringify({
+ baseUrl: "https://gitea.example",
+ repositoryOwner: "owner",
+ repositoryName: "repo",
+ accessToken: "fake-test-token",
+ }),
isActive: true,
})
.returning();