]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix compilation errors in tests from update (#34272)
authorPieter-Jan Briers <pieterjan.briers+git@gmail.com>
Tue, 7 Jan 2025 18:27:54 +0000 (19:27 +0100)
committerGitHub <noreply@github.com>
Tue, 7 Jan 2025 18:27:54 +0000 (19:27 +0100)
Required for https://github.com/space-wizards/RobustToolbox/pull/5590 to not cause compile fails, but can be merged on its own

Content.IntegrationTests/Tests/GameObjects/Components/Mobs/AlertsComponentTests.cs
Content.IntegrationTests/Tests/PostMapInitTest.cs

index ef4e6326cda519dacb71a1585bb6be29564ebbd7..6c103bf6aef4789b1abb1b4b46157bd4dc8d5019 100644 (file)
@@ -35,7 +35,7 @@ namespace Content.IntegrationTests.Tests.GameObjects.Components.Mobs
             {
                 playerUid = serverPlayerManager.Sessions.Single().AttachedEntity.GetValueOrDefault();
 #pragma warning disable NUnit2045 // Interdependent assertions.
-                Assert.That(playerUid, Is.Not.EqualTo(default));
+                Assert.That(playerUid, Is.Not.EqualTo(default(EntityUid)));
                 // Making sure it exists
                 Assert.That(entManager.HasComponent<AlertsComponent>(playerUid));
 #pragma warning restore NUnit2045
index d17b01a7e363b2ad4032072cb2a9113e048ab0fb..a331fad8f64a8a5af395de36be4db624818cf23a 100644 (file)
@@ -17,7 +17,6 @@ using Robust.Shared.Map;
 using Robust.Shared.Map.Components;
 using Robust.Shared.Prototypes;
 using Content.Shared.Station.Components;
-using FastAccessors;
 using Robust.Shared.Utility;
 using YamlDotNet.RepresentationModel;
 
@@ -67,7 +66,7 @@ namespace Content.IntegrationTests.Tests
             "Loop",
             "Elkridge"
 
-           
+
         };
 
         /// <summary>