CUB-207: unit tests for event handlers and initial sync #44
@@ -164,7 +164,7 @@ func newTestWSClient() (*WSClient, *mockAgentRepo, *handler.Broker, *broadcastCa
|
||||
// ── Tests ─────────────────────────────────────────────────────────────────
|
||||
|
||||
func TestHandleSessionsChanged_Active(t *testing.T) {
|
||||
client, repo, broker, capture := newTestWSClient()
|
||||
client, repo, _, capture := newTestWSClient()
|
||||
defer capture.close()
|
||||
|
||||
repo.agents["otto"] = models.AgentCardData{
|
||||
|
||||
Reference in New Issue
Block a user