Remove APIFriend

This commit is contained in:
Andrei Zavatski
2020-03-17 08:51:54 +03:00
parent bf9c6f8a3b
commit 4ac740b12b
9 changed files with 25 additions and 38 deletions

View File

@ -7,9 +7,9 @@ using System.Linq;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Online.API.Requests.Responses;
using osu.Game.Overlays;
using osu.Game.Overlays.Dashboard.Friends;
using osu.Game.Users;
namespace osu.Game.Tests.Visual.UserInterface
{
@ -39,17 +39,17 @@ namespace osu.Game.Tests.Visual.UserInterface
[Test]
public void Populate()
{
AddStep("Populate", () => control.Populate(new List<APIFriend>
AddStep("Populate", () => control.Populate(new List<User>
{
new APIFriend
new User
{
IsOnline = true
},
new APIFriend
new User
{
IsOnline = false
},
new APIFriend
new User
{
IsOnline = false
}