From: ActiveMammmoth <140334666+ActiveMammmoth@users.noreply.github.com> Date: Mon, 3 Feb 2025 22:11:06 +0000 (-0500) Subject: Store Test Change (#34844) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=ca4e99b8199158357762d648535a90e1c833057a;p=space-station-14.git Store Test Change (#34844) --- diff --git a/Content.IntegrationTests/Tests/StoreTests.cs b/Content.IntegrationTests/Tests/StoreTests.cs index 3f010245d8..1f7d357bc0 100644 --- a/Content.IntegrationTests/Tests/StoreTests.cs +++ b/Content.IntegrationTests/Tests/StoreTests.cs @@ -5,6 +5,7 @@ using Content.Server.Store.Systems; using Content.Server.Traitor.Uplink; using Content.Shared.FixedPoint; using Content.Shared.Inventory; +using Content.Shared.Mind; using Content.Shared.Store; using Content.Shared.Store.Components; using Content.Shared.StoreDiscount.Components; @@ -64,6 +65,7 @@ public sealed class StoreTests await server.WaitAssertion(() => { var invSystem = entManager.System(); + var mindSystem = entManager.System(); human = entManager.SpawnEntity("HumanUniformDummy", coordinates); uniform = entManager.SpawnEntity("UniformDummy", coordinates); @@ -72,6 +74,9 @@ public sealed class StoreTests Assert.That(invSystem.TryEquip(human, uniform, "jumpsuit")); Assert.That(invSystem.TryEquip(human, pda, "id")); + var mind = mindSystem.CreateMind(null); + mindSystem.TransferTo(mind, human, mind: mind); + FixedPoint2 originalBalance = 20; uplinkSystem.AddUplink(human, originalBalance, null, true);