1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 20:22:55 +08:00

Fix failing test case

This commit is contained in:
Salman Ahmed 2022-02-11 04:44:54 +03:00
parent 6f0e32826c
commit c29cc78853

View File

@ -457,10 +457,12 @@ namespace osu.Game.Tests.Visual.UserInterface
public override ModType Type => ModType.Conversion;
}
private class TestUnimplementedModOsuRuleset : OsuRuleset
private class TestUnimplementedModOsuRuleset : OsuRuleset, ILegacyRuleset
{
public override string ShortName => "unimplemented";
int ILegacyRuleset.LegacyID => -1;
public override IEnumerable<Mod> GetModsFor(ModType type)
{
if (type == ModType.Conversion) return base.GetModsFor(type).Concat(new[] { new TestUnimplementedMod() });