From 42ec9b29677f06b4205678ec38104991f65d8c61 Mon Sep 17 00:00:00 2001
From: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com>
Date: Wed, 3 Jan 2024 20:08:23 -0500
Subject: [PATCH] Changes required for engine PR (#23488)
---
.../Tests/Interaction/InteractionTest.Helpers.cs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Content.IntegrationTests/Tests/Interaction/InteractionTest.Helpers.cs b/Content.IntegrationTests/Tests/Interaction/InteractionTest.Helpers.cs
index 42d58a88c9..84e1afaf45 100644
--- a/Content.IntegrationTests/Tests/Interaction/InteractionTest.Helpers.cs
+++ b/Content.IntegrationTests/Tests/Interaction/InteractionTest.Helpers.cs
@@ -524,7 +524,7 @@ public abstract partial class InteractionTest
///
/// Assert whether or not the target has the given component.
///
- protected void AssertComp(bool hasComp = true, NetEntity? target = null)
+ protected void AssertComp(bool hasComp = true, NetEntity? target = null) where T : IComponent
{
target ??= Target;
if (target == null)
@@ -1120,6 +1120,6 @@ public abstract partial class InteractionTest
protected EntityCoordinates Position(NetEntity uid) => Position(ToServer(uid));
protected EntityCoordinates Position(EntityUid uid) => Xform(uid).Coordinates;
-
+
#endregion
}
--
2.51.2