Remove obsolete TestPair.Pair (#19496)
This commit is contained in:
@@ -32,8 +32,8 @@ public sealed class PrototypeSaveTest
|
||||
[Test]
|
||||
public async Task UninitializedSaveTest()
|
||||
{
|
||||
await using var pairTracker = await PoolManager.GetServerClient();
|
||||
var server = pairTracker.Pair.Server;
|
||||
await using var pair = await PoolManager.GetServerClient();
|
||||
var server = pair.Server;
|
||||
|
||||
var mapManager = server.ResolveDependency<IMapManager>();
|
||||
var entityMan = server.ResolveDependency<IEntityManager>();
|
||||
@@ -72,7 +72,7 @@ public sealed class PrototypeSaveTest
|
||||
if (prototype.Abstract)
|
||||
continue;
|
||||
|
||||
if (pairTracker.Pair.IsTestPrototype(prototype))
|
||||
if (pair.IsTestPrototype(prototype))
|
||||
continue;
|
||||
|
||||
// Yea this test just doesn't work with this, it parents a grid to another grid and causes game logic to explode.
|
||||
@@ -172,7 +172,7 @@ public sealed class PrototypeSaveTest
|
||||
}
|
||||
});
|
||||
});
|
||||
await pairTracker.CleanReturnAsync();
|
||||
await pair.CleanReturnAsync();
|
||||
}
|
||||
|
||||
public sealed class TestEntityUidContext : ISerializationContext,
|
||||
|
||||
Reference in New Issue
Block a user