mirror of
https://github.com/ppy/osu.git
synced 2025-02-22 20:52:54 +08:00
Add testing
This commit is contained in:
parent
907f73ef8f
commit
97a0e0097f
@ -106,6 +106,14 @@ namespace osu.Game.Tests.Visual.Online
|
|||||||
Country = new Country { FullName = @"Japan", FlagName = @"JP" },
|
Country = new Country { FullName = @"Japan", FlagName = @"JP" },
|
||||||
CoverUrl = @"https://osu.ppy.sh/images/headers/profile-covers/c6.jpg"
|
CoverUrl = @"https://osu.ppy.sh/images/headers/profile-covers/c6.jpg"
|
||||||
}, api.IsLoggedIn));
|
}, api.IsLoggedIn));
|
||||||
|
AddStep("Show bancho", () => profile.ShowUser(new User
|
||||||
|
{
|
||||||
|
Username = @"BanchoBot",
|
||||||
|
Id = 3,
|
||||||
|
IsBot = true,
|
||||||
|
Country = new Country { FullName = @"Saint Helena", FlagName = @"SH" },
|
||||||
|
CoverUrl = @"https://osu.ppy.sh/images/headers/profile-covers/c4.jpg"
|
||||||
|
}, api.IsLoggedIn));
|
||||||
|
|
||||||
AddStep("Hide", profile.Hide);
|
AddStep("Hide", profile.Hide);
|
||||||
AddStep("Show without reload", profile.Show);
|
AddStep("Show without reload", profile.Show);
|
||||||
|
Loading…
Reference in New Issue
Block a user