1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-14 15:17:27 +08:00

Fix failing test

This commit is contained in:
Dean Herbert 2024-03-26 21:20:22 +08:00
parent bc1ffb0b6e
commit b4ccbc68e4
No known key found for this signature in database

View File

@ -96,7 +96,7 @@ namespace osu.Game.Tests.Visual.Menus
}
});
AddUntilStep("wait for no image shown", () => onlineMenuBanner.ChildrenOfType<OnlineMenuBanner.MenuImage>().Single().Size, () => Is.EqualTo(Vector2.Zero));
AddUntilStep("wait for no image shown", () => onlineMenuBanner.ChildrenOfType<OnlineMenuBanner.MenuImage>().SingleOrDefault()?.Size, () => Is.EqualTo(Vector2.Zero));
AddStep("unset system title", () => onlineMenuBanner.Current.Value = new APIMenuContent());