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

Fix test failures due to Content override being applied in two places weirdly

This commit is contained in:
Bartłomiej Dach 2023-07-24 21:32:05 +02:00
parent 3ccd0ca1b0
commit 09ee500f62
No known key found for this signature in database
2 changed files with 7 additions and 2 deletions

View File

@ -1,6 +1,7 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osuTK;
@ -15,5 +16,11 @@ namespace osu.Game.Tournament.Tests
Scale = new Vector2(1920 / (float)(1920 + TournamentSceneManager.CONTROL_AREA_WIDTH)),
RelativeSizeAxes = Axes.Both
};
[BackgroundDependencyLoader]
private void load()
{
base.Content.Add(Content);
}
}
}

View File

@ -43,8 +43,6 @@ namespace osu.Game.Tournament.Tests
Ruleset.BindTo(Ladder.Ruleset);
Dependencies.CacheAs(new StableInfo(storage));
base.Content.Add(Content);
}
[SetUpSteps]