From 301efb948ea00e75faccf47c8bfe51f601eb655f Mon Sep 17 00:00:00 2001 From: Aergwyn Date: Sat, 30 Dec 2017 22:45:02 +0100 Subject: [PATCH] add required types to TestCase --- osu.Game.Tests/Visual/TestCaseResults.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/osu.Game.Tests/Visual/TestCaseResults.cs b/osu.Game.Tests/Visual/TestCaseResults.cs index d0c5aa4939..7a84742e7d 100644 --- a/osu.Game.Tests/Visual/TestCaseResults.cs +++ b/osu.Game.Tests/Visual/TestCaseResults.cs @@ -15,6 +15,15 @@ public class TestCaseResults : OsuTestCase { private BeatmapManager beatmaps; + public override IReadOnlyList RequiredTypes => new[] + { + typeof(Score), + typeof(Results), + typeof(ResultsPage), + typeof(ResultsPageScore), + typeof(ResultsPageRanking) + }; + [BackgroundDependencyLoader] private void load(BeatmapManager beatmaps) {