diff --git a/SVSim.EmulatedEntrypoint/Services/DevAlwaysValidSteamServer.cs b/SVSim.EmulatedEntrypoint/Services/DevAlwaysValidSteamServer.cs index 5b3ae5c..a3a30ca 100644 --- a/SVSim.EmulatedEntrypoint/Services/DevAlwaysValidSteamServer.cs +++ b/SVSim.EmulatedEntrypoint/Services/DevAlwaysValidSteamServer.cs @@ -21,7 +21,7 @@ public sealed class DevAlwaysValidSteamServer : ISteamServer { _logger.LogWarning( "DEV Steam bypass: accepting ticket for steamId {SteamId} WITHOUT validation (ticketLen={Len}).", - steamId, ticket?.Length ?? 0); + steamId, ticket.Length); return true; } diff --git a/SVSim.UnitTests/Services/DevAlwaysValidSteamServerTests.cs b/SVSim.UnitTests/Services/DevAlwaysValidSteamServerTests.cs index fea69f6..d6478b3 100644 --- a/SVSim.UnitTests/Services/DevAlwaysValidSteamServerTests.cs +++ b/SVSim.UnitTests/Services/DevAlwaysValidSteamServerTests.cs @@ -4,6 +4,7 @@ using SVSim.EmulatedEntrypoint.Services; namespace SVSim.UnitTests.Services; +/// Covers the always-accept contract and no-throw stubs of the Dev-only ISteamServer bypass. [TestFixture] public class DevAlwaysValidSteamServerTests {