]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix wrong assert message in DeviceLinkingTest (#35964)
authorTayrtahn <tayrtahn@gmail.com>
Thu, 20 Mar 2025 19:58:09 +0000 (15:58 -0400)
committerGitHub <noreply@github.com>
Thu, 20 Mar 2025 19:58:09 +0000 (20:58 +0100)
Content.IntegrationTests/Tests/DeviceLinking/DeviceLinkingTest.cs

index 96836d378a0a086197103774f07d4b43fa5155e0..6ce6d5d78e0502f41077a32599b257a05f5963d8 100644 (file)
@@ -64,7 +64,7 @@ public sealed class DeviceLinkingTest
                         var sinkEnt = server.EntMan.SpawnEntity(proto.ID, coord);
                         // Get the actual sink component, since the one we got from the prototype doesn't have its owner set up
                         Assert.That(server.EntMan.TryGetComponent<DeviceLinkSinkComponent>(sinkEnt, out var sinkComp),
-                            $"Tester prototype does not have a DeviceLinkSourceComponent!");
+                            $"{proto.ID} does not have a DeviceLinkSinkComponent!");
 
                         // Spawn the tester
                         var sourceEnt = server.EntMan.SpawnEntity(PortTesterProtoId, coord);