mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Update all usages of CreateContext
to use either Run
or Write
This commit is contained in:
@ -42,7 +42,7 @@ namespace osu.Game.Tests.Visual.Ranking
|
||||
{
|
||||
base.LoadComplete();
|
||||
|
||||
using (var realm = realmContextFactory.CreateContext())
|
||||
realmContextFactory.Run(realm =>
|
||||
{
|
||||
var beatmapInfo = realm.All<BeatmapInfo>()
|
||||
.Filter($"{nameof(BeatmapInfo.Ruleset)}.{nameof(RulesetInfo.OnlineID)} = $0", 0)
|
||||
@ -50,7 +50,7 @@ namespace osu.Game.Tests.Visual.Ranking
|
||||
|
||||
if (beatmapInfo != null)
|
||||
Beatmap.Value = beatmaps.GetWorkingBeatmap(beatmapInfo);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
Reference in New Issue
Block a user