Fix login failure for users with no country rank

Closes #2148.
This commit is contained in:
Dean Herbert
2018-03-11 00:44:00 +09:00
parent a9327eac8f
commit 9233266fe1
4 changed files with 19 additions and 10 deletions

View File

@ -58,6 +58,12 @@ namespace osu.Game.Tests.Visual
checkSupporterTag(false);
AddStep("Show null dummy", () => profile.ShowUser(new User
{
Username = @"Null",
Id = 1,
}, false));
AddStep("Show ppy", () => profile.ShowUser(new User
{
Username = @"peppy",