diff --git a/SVSim.UnitTests/BattleNode/Lifecycle/ScriptedLifecycleTests.cs b/SVSim.UnitTests/BattleNode/Lifecycle/ScriptedLifecycleTests.cs index 2387f30..de8707a 100644 --- a/SVSim.UnitTests/BattleNode/Lifecycle/ScriptedLifecycleTests.cs +++ b/SVSim.UnitTests/BattleNode/Lifecycle/ScriptedLifecycleTests.cs @@ -17,6 +17,10 @@ public class ScriptedLifecycleTests Assert.That(selfInfo["oppoId"], Is.EqualTo(847666884L)); var oppoInfo = (Dictionary)env.Body["oppoInfo"]!; Assert.That(oppoInfo["oppoId"], Is.EqualTo(906243102L)); + + // Bid travels in the envelope, not the Body — protect against the Task 5 reserved-keys regression. + Assert.That(env.Bid, Is.EqualTo("b")); + Assert.That(env.Body.ContainsKey("bid"), Is.False); } [Test]