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