Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
fix(test): pass JWT token and workspace_id in WS integration test
Naiyuan Qingae6abc2fc2e8
diff --git a/server/cmd/server/integration_test.go b/server/cmd/server/integration_test.goindex 182bbf20f2..885748c998 100644--- a/server/cmd/server/integration_test.go+++ b/server/cmd/server/integration_test.go@@ -710,7 +710,7 @@ func TestInvalidRequestBodies(t *testing.T) {func TestWebSocketIntegration(t *testing.T) {// Connect WebSocket client- wsURL := "ws" + strings.TrimPrefix(testServer.URL, "http") + "/ws"+ wsURL := "ws" + strings.TrimPrefix(testServer.URL, "http") + "/ws?token=" + testAuthToken + "&workspace_id=" + testWorkspaceIDconn, _, err := websocket.DefaultDialer.Dial(wsURL, nil)if err != nil {t.Fatalf("WebSocket connection failed: %v", err)