fix: Fixes tests to use C# 11 syntax (#1462)

This commit is contained in:
Kamron Batman 2023-08-17 00:58:44 -07:00 • committed by GitHub
parent 2c8d54549c
commit 35b7c35167
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 37 additions and 13 deletions

View file

@ -7,7 +7,9 @@ namespace Server.Engines.MLQuests;
public class MLQuestPacketTests
{
private class MockedRace(
private class MockedRace : Race
{
public MockedRace(
int raceID,
int raceIndex,
string name,
@ -17,8 +19,8 @@ public class MLQuestPacketTests
int maleGhostBody,
int femaleGhostBody,
Expansion requiredExpansion
)
: Race(raceID,
) : base(
raceID,
raceIndex,
name,
pluralName,
@ -28,7 +30,9 @@ public class MLQuestPacketTests
femaleGhostBody,
requiredExpansion
)
{
{
}
public override bool ValidateHair(bool female, int itemID) => throw new NotImplementedException();
public override int RandomHair(bool female) => throw new NotImplementedException();