desk: the replay test pins the code and the fork id too
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
971f69f970
commit
764d00af84
1 changed files with 2 additions and 0 deletions
|
|
@ -102,6 +102,8 @@ public sealed class DeskAnswerTests
|
|||
Assert.Equal(422, first.Status);
|
||||
Assert.Equal(first.Status, replay.Status);
|
||||
Assert.Equal(first.Body, replay.Body);
|
||||
Assert.Equal("fork_too_large", (string?)JsonNode.Parse(replay.Body)!["code"]);
|
||||
Assert.Contains(DeskReplay.ChatFork, (string)JsonNode.Parse(replay.Body)!["error"]!);
|
||||
Assert.Equal(2, factory.Door.Calls.Count(c => c.Kind == "answer"));
|
||||
Assert.Equal(2, factory.Door.Calls.Count(c => c.Kind == "read"));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue