Remove PoolSettings.ExtraPrototypes option (#18678)
This commit is contained in:
@@ -15,14 +15,15 @@ namespace Content.IntegrationTests.Tests.Tag
|
||||
private const string TagEntityId = "TagTestDummy";
|
||||
|
||||
// Register these three into the prototype manager
|
||||
private const string StartingTag = "A";
|
||||
private const string AddedTag = "EIOU";
|
||||
private const string UnusedTag = "E";
|
||||
private const string StartingTag = "StartingTagDummy";
|
||||
private const string AddedTag = "AddedTagDummy";
|
||||
private const string UnusedTag = "UnusedTagDummy";
|
||||
|
||||
// Do not register this one
|
||||
private const string UnregisteredTag = "AAAAAAAAA";
|
||||
|
||||
private static readonly string Prototypes = $@"
|
||||
[TestPrototypes]
|
||||
private const string Prototypes = $@"
|
||||
- type: Tag
|
||||
id: {StartingTag}
|
||||
|
||||
@@ -45,8 +46,7 @@ namespace Content.IntegrationTests.Tests.Tag
|
||||
{
|
||||
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