play-faults test: read the fault-closed turn's id off the view

The table mints the turn id, so the log assertion must read it from the stored turn, not the id the caller passed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-09 20:41:38 +02:00
commit f0adcc61c5

View file

@ -8175,8 +8175,8 @@ pub(crate) mod tests {
directory.path().join("play-turn-v1.cc"),
)
.unwrap();
let turn_id = test_turn_id(430);
table.run(&fixture.principal, turn_id.clone(), "Hello?".into()).await.unwrap();
table.run(&fixture.principal, test_turn_id(430), "Hello?".into()).await.unwrap();
let turn_id = table.current_turn_view().await.unwrap().turn_id;
let line = logs
.text()