Remove PoolSettings.ExtraPrototypes option (#18678)

This commit is contained in:
Leon Friedrich
2023-08-05 16:16:48 +12:00
committed by GitHub
parent c2beaff3ac
commit d58786faf4
51 changed files with 463 additions and 399 deletions

View File

@@ -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;