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:
parent
e1c2632f03
commit
f0adcc61c5
1 changed files with 2 additions and 2 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue