1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-21 02:52:55 +08:00

Fix edge case making test fail

Forgot that if a PM channel was the last tab, it hid itself upon selecting due to changing its width, which made the last-visible-selected assert fail. Made this particular test only use non-PM channels.
This commit is contained in:
TheWildTree 2020-03-16 21:31:22 +01:00
parent 0f40671e69
commit 4153f8d49d

View File

@ -146,7 +146,7 @@ namespace osu.Game.Tests.Visual.Online
// Using temporary channels because they don't hide their names when not active
channelManager.JoinChannel(new Channel
{
Name = $"Channel no. {joinedChannels.Count() + 1}",
Name = $"Channel no. {joinedChannels.Count() + 11}",
Type = ChannelType.Temporary
});