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

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