codex: expect realtime intent on WebRTC sideband join

This commit is contained in:
Ahmed Ibrahim
2026-04-08 10:00:52 -07:00
parent b5bf6ce412
commit 9ae865943c

View File

@@ -451,7 +451,10 @@ async fn conversation_webrtc_start_posts_generated_session() -> Result<()> {
.contains("startup context")
);
let handshake = realtime_server.single_handshake();
assert_eq!(handshake.uri(), "/v1/realtime?call_id=rtc_core_test");
assert_eq!(
handshake.uri(),
"/v1/realtime?intent=quicksilver&call_id=rtc_core_test"
);
assert_eq!(
handshake.header("authorization").as_deref(),
Some("Bearer dummy")