Remove PoolSettings.ExtraPrototypes option (#18678)
This commit is contained in:
@@ -14,6 +14,7 @@ namespace Content.IntegrationTests.Tests.Chemistry;
|
||||
[TestOf(typeof(SolutionContainerSystem))]
|
||||
public sealed class SolutionSystemTests
|
||||
{
|
||||
[TestPrototypes]
|
||||
private const string Prototypes = @"
|
||||
- type: entity
|
||||
id: SolutionTarget
|
||||
@@ -47,8 +48,7 @@ public sealed class SolutionSystemTests
|
||||
{
|
||||
await using var pairTracker = await PoolManager.GetServerClient(new PoolSettings
|
||||
{
|
||||
NoClient = true,
|
||||
ExtraPrototypes = Prototypes
|
||||
NoClient = true
|
||||
});
|
||||
var server = pairTracker.Pair.Server;
|
||||
|
||||
@@ -95,8 +95,7 @@ public sealed class SolutionSystemTests
|
||||
{
|
||||
await using var pairTracker = await PoolManager.GetServerClient(new PoolSettings
|
||||
{
|
||||
NoClient = true,
|
||||
ExtraPrototypes = Prototypes
|
||||
NoClient = true
|
||||
});
|
||||
var server = pairTracker.Pair.Server;
|
||||
|
||||
@@ -143,8 +142,7 @@ public sealed class SolutionSystemTests
|
||||
{
|
||||
await using var pairTracker = await PoolManager.GetServerClient(new PoolSettings
|
||||
{
|
||||
NoClient = true,
|
||||
ExtraPrototypes = Prototypes
|
||||
NoClient = true
|
||||
});
|
||||
var server = pairTracker.Pair.Server;
|
||||
|
||||
@@ -202,8 +200,7 @@ public sealed class SolutionSystemTests
|
||||
{
|
||||
await using var pairTracker = await PoolManager.GetServerClient(new PoolSettings
|
||||
{
|
||||
NoClient = true,
|
||||
ExtraPrototypes = Prototypes
|
||||
NoClient = true
|
||||
});
|
||||
var server = pairTracker.Pair.Server;
|
||||
|
||||
@@ -241,7 +238,7 @@ public sealed class SolutionSystemTests
|
||||
[Test]
|
||||
public async Task TestTemperatureCalculations()
|
||||
{
|
||||
await using var pairTracker = await PoolManager.GetServerClient(new PoolSettings { NoClient = true, ExtraPrototypes = Prototypes });
|
||||
await using var pairTracker = await PoolManager.GetServerClient(new PoolSettings { NoClient = true });
|
||||
var server = pairTracker.Pair.Server;
|
||||
var protoMan = server.ResolveDependency<IPrototypeManager>();
|
||||
const float temp = 100.0f;
|
||||
|
||||
Reference in New Issue
Block a user