From af75c1a92b8cf33b87fdfe071d5f74fe7c1c0c07 Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Tue, 7 Jan 2025 19:27:54 +0100 Subject: [PATCH] Fix compilation errors in tests from update (#34272) Required for https://github.com/space-wizards/RobustToolbox/pull/5590 to not cause compile fails, but can be merged on its own --- .../Tests/GameObjects/Components/Mobs/AlertsComponentTests.cs | 2 +- Content.IntegrationTests/Tests/PostMapInitTest.cs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Content.IntegrationTests/Tests/GameObjects/Components/Mobs/AlertsComponentTests.cs b/Content.IntegrationTests/Tests/GameObjects/Components/Mobs/AlertsComponentTests.cs index ef4e6326cd..6c103bf6ae 100644 --- a/Content.IntegrationTests/Tests/GameObjects/Components/Mobs/AlertsComponentTests.cs +++ b/Content.IntegrationTests/Tests/GameObjects/Components/Mobs/AlertsComponentTests.cs @@ -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(playerUid)); #pragma warning restore NUnit2045 diff --git a/Content.IntegrationTests/Tests/PostMapInitTest.cs b/Content.IntegrationTests/Tests/PostMapInitTest.cs index d17b01a7e3..a331fad8f6 100644 --- a/Content.IntegrationTests/Tests/PostMapInitTest.cs +++ b/Content.IntegrationTests/Tests/PostMapInitTest.cs @@ -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" - + }; ///