Use polling connector in tests

This commit is contained in:
Dan Balasescu
2022-10-28 18:08:08 +09:00
parent 527b1d9db1
commit 169bcc2654
9 changed files with 44 additions and 17 deletions

View File

@ -9,6 +9,7 @@ using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Game.Online.API;
using osu.Game.Online.Chat;
using osu.Game.Online.Notifications.WebSocket;
using osu.Game.Overlays.Chat;
using osu.Game.Tournament.IPC;
using osu.Game.Tournament.Models;
@ -48,7 +49,7 @@ namespace osu.Game.Tournament.Components
if (manager == null)
{
AddInternal(manager = new ChannelManager(api));
AddInternal(manager = new ChannelManager(api, new WebSocketNotificationsClientConnector(api)));
Channel.BindTo(manager.CurrentChannel);
}