1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 07:42:57 +08:00

Add back test workaround for TestScenePlayerScoreSubmission with updated explanation

This reverts commit f88e2aa025.
This commit is contained in:
Dean Herbert 2022-07-07 17:40:47 +09:00
parent b663986b9f
commit 57b2f8189c

View File

@ -363,9 +363,11 @@ namespace osu.Game.Tests.Visual.Gameplay
await AllowImportCompletion.WaitAsync().ConfigureAwait(false);
await base.ImportScore(score);
ImportedScore = score;
// Calling base.ImportScore is omitted as it will fail for the test method which uses a custom ruleset.
// This can be resolved by doing something similar to what TestScenePlayerLocalScoreImport is doing,
// but requires a bit of restructuring.
}
}
}