Skip to content

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

Go

fix(test): register event bus listeners in integration test setup

Naiyuan Qing97fa09156dbd
diff --git a/server/cmd/server/integration_test.go b/server/cmd/server/integration_test.go
index 713ab2ee5b..a879d3c198 100644
--- a/server/cmd/server/integration_test.go
+++ b/server/cmd/server/integration_test.go
@@ -62,6 +62,7 @@ func TestMain(m *testing.M) {
go hub.Run()
bus := events.New()
+ registerListeners(bus, hub)
router := NewRouter(pool, hub, bus)
testServer = httptest.NewServer(router)