mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Update nested game tests in line with framework changes
This commit is contained in:
@ -97,9 +97,6 @@ namespace osu.Game.Tests.Visual.Navigation
|
||||
{
|
||||
AddStep("create game", () =>
|
||||
{
|
||||
game = new OsuGame();
|
||||
game.SetHost(host);
|
||||
|
||||
Children = new Drawable[]
|
||||
{
|
||||
new Box
|
||||
@ -107,8 +104,9 @@ namespace osu.Game.Tests.Visual.Navigation
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Colour = Color4.Black,
|
||||
},
|
||||
game
|
||||
};
|
||||
|
||||
AddGame(game = new OsuGame());
|
||||
});
|
||||
|
||||
AddUntilStep("wait for load", () => game.IsLoaded);
|
||||
|
Reference in New Issue
Block a user