Remove PoolSettings.ExtraPrototypes option (#18678)
This commit is contained in:
@@ -18,9 +18,10 @@ namespace Content.IntegrationTests.Tests.Station;
|
||||
[TestOf(typeof(StationJobsSystem))]
|
||||
public sealed class StationJobsTest
|
||||
{
|
||||
[TestPrototypes]
|
||||
private const string Prototypes = @"
|
||||
- type: playTimeTracker
|
||||
id: Dummy
|
||||
id: PlayTimeDummy
|
||||
|
||||
- type: gameMap
|
||||
id: FooStation
|
||||
@@ -43,26 +44,26 @@ public sealed class StationJobsTest
|
||||
|
||||
- type: job
|
||||
id: TAssistant
|
||||
playTimeTracker: Dummy
|
||||
playTimeTracker: PlayTimeDummy
|
||||
|
||||
- type: job
|
||||
id: TMime
|
||||
weight: 20
|
||||
playTimeTracker: Dummy
|
||||
playTimeTracker: PlayTimeDummy
|
||||
|
||||
- type: job
|
||||
id: TClown
|
||||
weight: -10
|
||||
playTimeTracker: Dummy
|
||||
playTimeTracker: PlayTimeDummy
|
||||
|
||||
- type: job
|
||||
id: TCaptain
|
||||
weight: 10
|
||||
playTimeTracker: Dummy
|
||||
playTimeTracker: PlayTimeDummy
|
||||
|
||||
- type: job
|
||||
id: TChaplain
|
||||
playTimeTracker: Dummy
|
||||
playTimeTracker: PlayTimeDummy
|
||||
";
|
||||
|
||||
private const int StationCount = 100;
|
||||
@@ -75,8 +76,7 @@ public sealed class StationJobsTest
|
||||
{
|
||||
await using var pairTracker = await PoolManager.GetServerClient(new PoolSettings
|
||||
{
|
||||
NoClient = true,
|
||||
ExtraPrototypes = Prototypes
|
||||
NoClient = true
|
||||
});
|
||||
var server = pairTracker.Pair.Server;
|
||||
|
||||
@@ -153,8 +153,7 @@ public sealed class StationJobsTest
|
||||
{
|
||||
await using var pairTracker = await PoolManager.GetServerClient(new PoolSettings
|
||||
{
|
||||
NoClient = true,
|
||||
ExtraPrototypes = Prototypes
|
||||
NoClient = true
|
||||
});
|
||||
var server = pairTracker.Pair.Server;
|
||||
|
||||
@@ -208,8 +207,7 @@ public sealed class StationJobsTest
|
||||
{
|
||||
await using var pairTracker = await PoolManager.GetServerClient(new PoolSettings
|
||||
{
|
||||
NoClient = true,
|
||||
ExtraPrototypes = Prototypes
|
||||
NoClient = true
|
||||
});
|
||||
var server = pairTracker.Pair.Server;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user