Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
fix(test): remove skills column from integration test fixtures
Jiayuan Zhangfb709ff143ea
diff --git a/server/cmd/server/integration_test.go b/server/cmd/server/integration_test.goindex 4cce56908f..1b6e07fcda 100644--- a/server/cmd/server/integration_test.go+++ b/server/cmd/server/integration_test.go@@ -143,9 +143,9 @@ func setupIntegrationTestFixture(ctx context.Context, pool *pgxpool.Pool) (strinif _, err := pool.Exec(ctx, `INSERT INTO agent (workspace_id, name, description, runtime_mode, runtime_config,- runtime_id, visibility, max_concurrent_tasks, owner_id, skills, tools, triggers+ runtime_id, visibility, max_concurrent_tasks, owner_id, tools, triggers)- VALUES ($1, $2, '', 'cloud', '{}'::jsonb, $3, 'workspace', 1, $4, '', '[]'::jsonb, '[]'::jsonb)+ VALUES ($1, $2, '', 'cloud', '{}'::jsonb, $3, 'workspace', 1, $4, '[]'::jsonb, '[]'::jsonb)`, workspaceID, "Integration Test Agent", runtimeID, userID); err != nil {return "", "", err}diff --git a/server/internal/handler/handler_test.go b/server/internal/handler/handler_test.goindex d49364a7a3..cb1f0bb665 100644--- a/server/internal/handler/handler_test.go+++ b/server/internal/handler/handler_test.go@@ -109,9 +109,9 @@ func setupHandlerTestFixture(ctx context.Context, pool *pgxpool.Pool) (string, sif _, err := pool.Exec(ctx, `INSERT INTO agent (workspace_id, name, description, runtime_mode, runtime_config,- runtime_id, visibility, max_concurrent_tasks, owner_id, skills, tools, triggers+ runtime_id, visibility, max_concurrent_tasks, owner_id, tools, triggers)- VALUES ($1, $2, '', 'cloud', '{}'::jsonb, $3, 'workspace', 1, $4, '', '[]'::jsonb, '[]'::jsonb)+ VALUES ($1, $2, '', 'cloud', '{}'::jsonb, $3, 'workspace', 1, $4, '[]'::jsonb, '[]'::jsonb)`, workspaceID, "Handler Test Agent", runtimeID, userID); err != nil {return "", "", err}