1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 15:47:26 +08:00

Merge pull request #24359 from peppy/fix-unknown-mod-test-failure

Fix `TestSceneUnknownMod` failing due to null reference
This commit is contained in:
Bartłomiej Dach 2023-07-25 22:40:03 +02:00 committed by GitHub
commit 653f01f4ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,6 @@ namespace osu.Game.Tests.Visual.Gameplay
{ {
CreateModTest(new ModTestData CreateModTest(new ModTestData
{ {
Beatmap = CreateWorkingBeatmap(new OsuRuleset().RulesetInfo).Beatmap,
Mod = new UnknownMod("WNG"), Mod = new UnknownMod("WNG"),
PassCondition = () => Player.IsLoaded && !Player.LoadedBeatmapSuccessfully PassCondition = () => Player.IsLoaded && !Player.LoadedBeatmapSuccessfully
}); });