diff --git a/osu.Desktop.VisualTests/Tests/TestCaseUserProfile.cs b/osu.Desktop.VisualTests/Tests/TestCaseUserProfile.cs index 9eea2cbf19..7fc32442f5 100644 --- a/osu.Desktop.VisualTests/Tests/TestCaseUserProfile.cs +++ b/osu.Desktop.VisualTests/Tests/TestCaseUserProfile.cs @@ -7,6 +7,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; using osu.Framework.Graphics; +using osu.Framework.Graphics.Containers; using osu.Framework.Testing; using osu.Game.Overlays; using osu.Game.Users; @@ -24,17 +25,17 @@ namespace osu.Desktop.VisualTests.Tests { Username = @"peppy", Id = 2, - Country = new Country { FlagName = @"AU" }, + Country = new Country { FullName = @"Australia", FlagName = @"AU" }, CoverUrl = @"https://osu.ppy.sh/images/headers/profile-covers/c3.jpg" }) { Anchor = Anchor.Centre, Origin = Anchor.Centre, - Width = 800, - Height = 500 + RelativeSizeAxes = Axes.Both, + Padding = new MarginPadding { Horizontal = 50 }, + State = Visibility.Visible }; Add(userpage); - AddStep("Toggle", userpage.ToggleVisibility); } } }