Fix new test failing on headless runs

This commit is contained in:
Dean Herbert
2022-07-01 17:07:00 +09:00
parent 545df0a8e8
commit 17ad6648d1

View File

@ -13,6 +13,8 @@ namespace osu.Game.Tests.Visual.SongSelect
{ {
[Test] [Test]
public void TestBasic() public void TestBasic()
{
AddStep("create control", () =>
{ {
Child = new DifficultyRangeFilterControl Child = new DifficultyRangeFilterControl
{ {
@ -21,6 +23,7 @@ namespace osu.Game.Tests.Visual.SongSelect
Origin = Anchor.Centre, Origin = Anchor.Centre,
Scale = new Vector2(3), Scale = new Vector2(3),
}; };
});
} }
} }
} }