From 764d00af844ee781bde6397e824b9247399f7887 Mon Sep 17 00:00:00 2001 From: Heimdall Date: Wed, 11 Nov 2026 01:54:03 +0000 Subject: [PATCH] desk: the replay test pins the code and the fork id too Co-Authored-By: Claude Sonnet 5.5 --- tests/Bifrost.Web.Tests/DeskAnswerTests.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Bifrost.Web.Tests/DeskAnswerTests.cs b/tests/Bifrost.Web.Tests/DeskAnswerTests.cs index 8e960bd..709cd31 100644 --- a/tests/Bifrost.Web.Tests/DeskAnswerTests.cs +++ b/tests/Bifrost.Web.Tests/DeskAnswerTests.cs @@ -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")); }