Fix chat tests failing 1/10000 runs

31a447fda0/osu.Game/Online/Chat/ChannelManager.cs (L412-L414)

Sigh.
This commit is contained in:
Dean Herbert
2022-06-27 16:50:07 +09:00
parent 2b278ed324
commit 13dcaf82ad
2 changed files with 5 additions and 3 deletions

View File

@ -15,10 +15,12 @@ namespace osu.Game.Online.API
{
public class DummyAPIAccess : Component, IAPIProvider
{
public const int DUMMY_USER_ID = 1001;
public Bindable<APIUser> LocalUser { get; } = new Bindable<APIUser>(new APIUser
{
Username = @"Dummy",
Id = 1001,
Id = DUMMY_USER_ID,
});
public BindableList<APIUser> Friends { get; } = new BindableList<APIUser>();