mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 09:27:29 +08:00
Fix test failing after BDL -> [Test]
change
This commit is contained in:
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
|
||||
});
|
||||
}));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user