Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

fix(test): use correct var name testToken (not testAuthToken)

Naiyuan Qing77141cf0a7da
diff --git a/server/cmd/server/integration_test.go b/server/cmd/server/integration_test.go
index 885748c998..21191d77b5 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?token=" + testAuthToken + "&workspace_id=" + testWorkspaceID
+ wsURL := "ws" + strings.TrimPrefix(testServer.URL, "http") + "/ws?token=" + testToken + "&workspace_id=" + testWorkspaceID
conn, _, err := websocket.DefaultDialer.Dial(wsURL, nil)
if err != nil {
t.Fatalf("WebSocket connection failed: %v", err)