1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 16:22:57 +08:00

Update test case.

This commit is contained in:
Huo Yaoyuan 2017-06-15 02:38:51 +08:00
parent ce67a28609
commit f7a451ed82

View File

@ -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);
}
}
}