1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-24 05:29:57 +08:00

Fix test failing after BDL -> [Test] change

This commit is contained in:
Bartłomiej Dach
2021-08-28 09:44:54 +02:00
Unverified
parent b008a86d8c
commit d37df6afec
@@ -13,16 +13,19 @@ namespace osu.Game.Tournament.Tests.Screens
[Test]
public void TestBasic()
{
var match = Ladder.CurrentMatch.Value;
AddStep("set up match", () =>
{
var match = Ladder.CurrentMatch.Value;
match.Round.Value = Ladder.Rounds.FirstOrDefault(g => g.Name.Value == "Finals");
match.Completed.Value = true;
match.Round.Value = Ladder.Rounds.FirstOrDefault(g => g.Name.Value == "Finals");
match.Completed.Value = true;
});
Add(new TeamWinScreen
AddStep("create screen", () => Add(new TeamWinScreen
{
FillMode = FillMode.Fit,
FillAspectRatio = 16 / 9f
});
}));
}
}
}