Remove PoolSettings.ExtraPrototypes option (#18678)
This commit is contained in:
@@ -15,10 +15,11 @@ namespace Content.IntegrationTests.Tests
|
||||
[TestOf(typeof(GravityGeneratorComponent))]
|
||||
public sealed class GravityGridTest
|
||||
{
|
||||
[TestPrototypes]
|
||||
private const string Prototypes = @"
|
||||
- type: entity
|
||||
name: GravityGeneratorDummy
|
||||
id: GravityGeneratorDummy
|
||||
name: GridGravityGeneratorDummy
|
||||
id: GridGravityGeneratorDummy
|
||||
components:
|
||||
- type: GravityGenerator
|
||||
chargeRate: 1000000000 # Set this really high so it discharges in a single tick.
|
||||
@@ -31,8 +32,7 @@ namespace Content.IntegrationTests.Tests
|
||||
{
|
||||
await using var pairTracker = await PoolManager.GetServerClient(new PoolSettings
|
||||
{
|
||||
NoClient = true,
|
||||
ExtraPrototypes = Prototypes
|
||||
NoClient = true
|
||||
});
|
||||
var server = pairTracker.Pair.Server;
|
||||
|
||||
@@ -56,7 +56,7 @@ namespace Content.IntegrationTests.Tests
|
||||
grid1Entity = grid1.Owner;
|
||||
grid2Entity = grid2.Owner;
|
||||
|
||||
generator = entityMan.SpawnEntity("GravityGeneratorDummy", grid2.ToCoordinates());
|
||||
generator = entityMan.SpawnEntity("GridGravityGeneratorDummy", grid2.ToCoordinates());
|
||||
Assert.Multiple(() =>
|
||||
{
|
||||
Assert.That(entityMan.HasComponent<GravityGeneratorComponent>(generator));
|
||||
|
||||
Reference in New Issue
Block a user