Cleanup: Use `MapSystem.DeleteMap instead of IMapManager.DeleteMap in HumanInventoryUniformSlotsTest` (#35469)
* Cleanup * Fix
This commit is contained in:
parent
363eec1465
commit
059c64a75f
1 changed files with 2 additions and 3 deletions
|
|
@ -1,6 +1,5 @@
|
|||
using Content.Shared.Inventory;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Map;
|
||||
|
||||
namespace Content.IntegrationTests.Tests
|
||||
{
|
||||
|
|
@ -67,7 +66,7 @@ namespace Content.IntegrationTests.Tests
|
|||
EntityUid pocketItem = default;
|
||||
|
||||
InventorySystem invSystem = default!;
|
||||
var mapMan = server.ResolveDependency<IMapManager>();
|
||||
var mapSystem = server.System<SharedMapSystem>();
|
||||
var entityMan = server.ResolveDependency<IEntityManager>();
|
||||
|
||||
await server.WaitAssertion(() =>
|
||||
|
|
@ -129,7 +128,7 @@ namespace Content.IntegrationTests.Tests
|
|||
Assert.That(!invSystem.TryGetSlotEntity(human, "pocket1", out _));
|
||||
});
|
||||
|
||||
mapMan.DeleteMap(testMap.MapId);
|
||||
mapSystem.DeleteMap(testMap.MapId);
|
||||
});
|
||||
|
||||
await pair.CleanReturnAsync();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue