Change admin log filter types and impacts to use hashsets

This commit is contained in:
DrSmugleaf
2021-12-24 20:48:21 +01:00
parent ae287f264a
commit 2f75b282b9
5 changed files with 10 additions and 11 deletions

View File

@@ -122,7 +122,7 @@ public class AddTests : ContentIntegrationTest
{
Round = log.RoundId,
Search = log.Message,
Types = new List<LogType> {log.Type},
Types = new HashSet<LogType> {log.Type},
};
await foreach (var json in sDatabase.GetAdminLogsJson(filter))
@@ -295,7 +295,7 @@ public class AddTests : ContentIntegrationTest
{
Round = log.RoundId,
Search = log.Message,
Types = new List<LogType> {log.Type},
Types = new HashSet<LogType> {log.Type},
};
await foreach (var json in sDatabase.GetAdminLogsJson(filter))