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:
parent
5512d58c1d
commit
96bacaf13f
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user