Remove PoolSettings.ExtraPrototypes option (#18678)
This commit is contained in:
@@ -9,10 +9,11 @@ namespace Content.IntegrationTests.Tests
|
||||
[TestFixture]
|
||||
public sealed class HumanInventoryUniformSlotsTest
|
||||
{
|
||||
[TestPrototypes]
|
||||
private const string Prototypes = @"
|
||||
- type: entity
|
||||
name: HumanDummy
|
||||
id: HumanDummy
|
||||
name: HumanUniformDummy
|
||||
id: HumanUniformDummy
|
||||
components:
|
||||
- type: Inventory
|
||||
- type: ContainerContainer
|
||||
@@ -54,7 +55,7 @@ namespace Content.IntegrationTests.Tests
|
||||
[Test]
|
||||
public async Task Test()
|
||||
{
|
||||
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 testMap = await PoolManager.CreateTestMap(pairTracker);
|
||||
var coordinates = testMap.GridCoords;
|
||||
@@ -71,7 +72,7 @@ namespace Content.IntegrationTests.Tests
|
||||
{
|
||||
invSystem = entityMan.System<InventorySystem>();
|
||||
|
||||
human = entityMan.SpawnEntity("HumanDummy", coordinates);
|
||||
human = entityMan.SpawnEntity("HumanUniformDummy", coordinates);
|
||||
uniform = entityMan.SpawnEntity("UniformDummy", coordinates);
|
||||
idCard = entityMan.SpawnEntity("IDCardDummy", coordinates);
|
||||
pocketItem = entityMan.SpawnEntity("FlashlightDummy", coordinates);
|
||||
|
||||
Reference in New Issue
Block a user