refactor(battle-node): switch MsgEnvelope.Body to IMsgBody, migrate all sites
This commit is contained in:
@@ -6,14 +6,6 @@ namespace SVSim.UnitTests.BattleNode.Reliability;
|
||||
[TestFixture]
|
||||
public class GungnirTests
|
||||
{
|
||||
[Test]
|
||||
public void BuildAlivePush_AlwaysReturnsScsOnlineOcsOnline()
|
||||
{
|
||||
var body = Gungnir.BuildAlivePushBody();
|
||||
Assert.That(body["scs"], Is.EqualTo("ONLINE"));
|
||||
Assert.That(body["ocs"], Is.EqualTo("ONLINE"));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void BuildAliveEmit_CarriesCurrentSeqFromTracker()
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ public class OutboundSequencerTests
|
||||
{
|
||||
private static MsgEnvelope MakeEnvelope(NetworkBattleUri uri) =>
|
||||
new(uri, ViewerId: 1, Uuid: "u", Bid: null, Try: 0, Cat: EmitCategory.Battle,
|
||||
PubSeq: null, PlaySeq: null, Body: new Dictionary<string, object?>());
|
||||
PubSeq: null, PlaySeq: null, Body: new RawBody(new Dictionary<string, object?>()));
|
||||
|
||||
[Test]
|
||||
public void AssignAndArchive_FirstCall_ReturnsEnvelopeWithPlaySeq1()
|
||||
|
||||
Reference in New Issue
Block a user