mirror of
https://github.com/osukey/osukey.git
synced 2025-05-03 20:57:28 +09:00
Fix test failing after BDL -> [Test]
change
This commit is contained in:
parent
b008a86d8c
commit
d37df6afec
@ -12,17 +12,20 @@ namespace osu.Game.Tournament.Tests.Screens
|
|||||||
{
|
{
|
||||||
[Test]
|
[Test]
|
||||||
public void TestBasic()
|
public void TestBasic()
|
||||||
|
{
|
||||||
|
AddStep("set up match", () =>
|
||||||
{
|
{
|
||||||
var match = Ladder.CurrentMatch.Value;
|
var match = Ladder.CurrentMatch.Value;
|
||||||
|
|
||||||
match.Round.Value = Ladder.Rounds.FirstOrDefault(g => g.Name.Value == "Finals");
|
match.Round.Value = Ladder.Rounds.FirstOrDefault(g => g.Name.Value == "Finals");
|
||||||
match.Completed.Value = true;
|
match.Completed.Value = true;
|
||||||
|
});
|
||||||
|
|
||||||
Add(new TeamWinScreen
|
AddStep("create screen", () => Add(new TeamWinScreen
|
||||||
{
|
{
|
||||||
FillMode = FillMode.Fit,
|
FillMode = FillMode.Fit,
|
||||||
FillAspectRatio = 16 / 9f
|
FillAspectRatio = 16 / 9f
|
||||||
});
|
}));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user