mirror of
https://github.com/ppy/osu.git
synced 2026-05-16 20:03:16 +08:00
Change test to allow for potentially single-frame delayed events firing
This commit is contained in:
@@ -128,7 +128,7 @@ namespace osu.Game.Tests.Online
|
||||
|
||||
private void addAvailabilityCheckStep(string description, Func<BeatmapAvailability> expected)
|
||||
{
|
||||
AddAssert(description, () => availabilityTracker.Availability.Value.Equals(expected.Invoke()));
|
||||
AddUntilStep(description, () => availabilityTracker.Availability.Value.Equals(expected.Invoke()));
|
||||
}
|
||||
|
||||
private static BeatmapInfo getTestBeatmapInfo(string archiveFile)
|
||||
|
||||
Reference in New Issue
Block a user