Skip to content

Commit

Permalink
Fix judgement counter test failure due to exploiting mania ruleset
Browse files Browse the repository at this point in the history
Large ticks are not a thing in mania anymore, so the judgement counter
tests began to fail as `LargeTickHit` is no longer a valid hit result
in that ruleset.
  • Loading branch information
bdach committed Oct 12, 2023
1 parent a42e754 commit 34bab38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions osu.Game.Tests/Visual/Gameplay/TestSceneJudgementCounter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
using osu.Framework.Testing;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Mania;
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.Osu;
using osu.Game.Rulesets.Osu.Judgements;
using osu.Game.Rulesets.Scoring;
using osu.Game.Screens.Play.HUD.JudgementCounter;
Expand Down Expand Up @@ -57,7 +57,7 @@ public void SetUpSteps() => AddStep("Create components", () =>
};
});

protected override Ruleset CreateRuleset() => new ManiaRuleset();
protected override Ruleset CreateRuleset() => new OsuRuleset();

private void applyOneJudgement(HitResult result)
{
Expand Down

0 comments on commit 34bab38

Please sign in to comment.