1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 05:02:55 +08:00

Allow the ChatLinkTestcase to work again

This commit is contained in:
miterosan 2018-04-09 21:06:28 +02:00
parent 5512d58c1d
commit 96bacaf13f

View File

@ -54,12 +54,14 @@ namespace osu.Game.Tests.Visual
private void load(OsuColour colours, IAPIProvider api)
{
linkColour = colours.Blue;
dependencies.Cache(new ChatOverlay());
var chatManager = new ChatManager(Scheduler);
api.Register(chatManager);
chatManager.AvailableChannels.Add(new ChannelChat { Name = "#english"});
chatManager.AvailableChannels.Add(new ChannelChat { Name = "#japanese" });
dependencies.Cache(chatManager);
dependencies.Cache(new ChatOverlay());
testLinksGeneral();
testEcho();
}