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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEpqsPES27Eacue91u3d2Q
This commit is contained in:
Claude committed 2026-10-04 17:58:53 +00:00
1 parent 9db6937489
commit caa6376908
1 file changed
+4 -1
+4 -1
View File
@@ -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]