From caa6376908b729a8dfdc7f87fecd8d81e600e960 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 4 Oct 2026 17:58:53 +0000 Subject: [PATCH] voelin-core: banner tests give the session a myTeamSpeak account source The merge left the channel-banner tests calling Session::new without the account identity it takes since the myTeamSpeak branch. The test helper passes an open source with no account, as the engine does. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01FEpqsPES27Eacue91u3d2Q --- crates/voelin-core/src/session.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crates/voelin-core/src/session.rs b/crates/voelin-core/src/session.rs index 4213721..e759bb7 100644 --- a/crates/voelin-core/src/session.rs +++ b/crates/voelin-core/src/session.rs @@ -1923,7 +1923,10 @@ mod banner_tests { cache: SharedCache::new(Cache::new(dir)), contacts: Contacts::new(events.clone(), history), }; - (Session::new(1, events, frames, AudioSettings::default(), shared), receiver) + // No myTeamSpeak account; its source stays open, as the engine's does + // (a closed one ends voice connections). + let myts_identity = Box::leak(Box::new(watch::Sender::new(None))).subscribe(); + (Session::new(1, events, frames, AudioSettings::default(), shared, myts_identity), receiver) } #[tokio::test]