]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Remove BodyComponent check from MobPrice test (#39786)
authorNemanja <98561806+EmoGarbage404@users.noreply.github.com>
Wed, 20 Aug 2025 19:25:53 +0000 (15:25 -0400)
committerGitHub <noreply@github.com>
Wed, 20 Aug 2025 19:25:53 +0000 (12:25 -0700)
Content.IntegrationTests/Tests/CargoTest.cs

index 5830ea59daad9e93fd8914c8bc2e1802643bdd89..aad87b711a4ee7ce4b6b7c815a7c382ef04d0d86 100644 (file)
@@ -5,7 +5,6 @@ using Content.Server.Cargo.Components;
 using Content.Server.Cargo.Systems;
 using Content.Server.Nutrition.Components;
 using Content.Server.Nutrition.EntitySystems;
-using Content.Shared.Body.Components;
 using Content.Shared.Cargo.Prototypes;
 using Content.Shared.Mobs.Components;
 using Content.Shared.Prototypes;
@@ -266,7 +265,6 @@ public sealed class CargoTest
             {
                 foreach (var (proto, comp) in pair.GetPrototypesWithComponent<MobPriceComponent>())
                 {
-                    Assert.That(proto.TryGetComponent<BodyComponent>(out _, componentFactory), $"Found MobPriceComponent on {proto.ID}, but no BodyComponent!");
                     Assert.That(proto.TryGetComponent<MobStateComponent>(out _, componentFactory), $"Found MobPriceComponent on {proto.ID}, but no MobStateComponent!");
                 }
             });