1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 04:13:00 +08:00

Fix tests failing

This commit is contained in:
Lucas A 2019-05-01 19:20:18 +02:00
parent a3541339f5
commit e02def58f3

View File

@ -318,6 +318,8 @@ namespace osu.Game.Tests.Visual.Background
private class FadeAccessibleResults : SoloResults
{
protected override UserStatus ScreenStatus => null;
public FadeAccessibleResults(ScoreInfo score)
: base(score)
{
@ -330,6 +332,8 @@ namespace osu.Game.Tests.Visual.Background
private class TestPlayer : Player
{
protected override UserStatus ScreenStatus => null;
protected override BackgroundScreen CreateBackground() => new FadeAccessibleBackground(Beatmap.Value);
protected override UserDimContainer CreateStoryboardContainer()
@ -377,6 +381,8 @@ namespace osu.Game.Tests.Visual.Background
public VisualSettings VisualSettingsPos => VisualSettings;
public BackgroundScreen ScreenPos => Background;
protected override UserStatus ScreenStatus => null;
public TestPlayerLoader(Player player)
: base(() => player)
{