From f7a451ed8221efa1ef2ad4f84b955edfca73ecec Mon Sep 17 00:00:00 2001 From: Huo Yaoyuan Date: Thu, 15 Jun 2017 02:38:51 +0800 Subject: [PATCH] Update test case. --- osu.Desktop.VisualTests/Tests/TestCaseUserProfile.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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); } } }