Centralise calls to reset online info of a BeatmapInfo

This commit is contained in:
Dean Herbert
2022-07-25 18:51:19 +09:00
parent ec477a3ebf
commit 6a3e8e31de
6 changed files with 18 additions and 8 deletions

View File

@ -797,7 +797,7 @@ namespace osu.Game.Tests.Database
await realm.Realm.WriteAsync(() =>
{
foreach (var b in imported.Beatmaps)
b.OnlineID = -1;
b.ResetOnlineInfo();
});
deleteBeatmapSet(imported, realm.Realm);