Entity Whitelist changes (#7426)

This commit is contained in:
Leon Friedrich
2022-04-06 17:21:45 +12:00
committed by GitHub
parent c2867cd9e5
commit f583d0b96a
5 changed files with 33 additions and 38 deletions

View File

@@ -81,8 +81,8 @@ namespace Content.IntegrationTests.Tests.Utility
// Test instantiated on its own
var whitelistInst = new EntityWhitelist
{
Components = new[] {$"{ValidComponent}"},
Tags = new[] {"ValidTag"}
Components = new[] { $"{ValidComponent}"},
Tags = new() {"ValidTag"}
};
whitelistInst.UpdateRegistrations();
Assert.That(whitelistInst, Is.Not.Null);