mirror of
https://github.com/ppy/osu
synced 2025-01-02 12:22:13 +00:00
Merge pull request #18982 from peppy/fix-channel-id-clash
Fix ID clash with announce and PM channels in chat overlay tests
This commit is contained in:
commit
720bb7fd75
@ -576,12 +576,13 @@ namespace osu.Game.Tests.Visual.Online
|
||||
|
||||
private Channel createAnnounceChannel()
|
||||
{
|
||||
int id = RNG.Next(0, DummyAPIAccess.DUMMY_USER_ID - 1);
|
||||
const int announce_channel_id = 133337;
|
||||
|
||||
return new Channel
|
||||
{
|
||||
Name = $"Announce {id}",
|
||||
Name = $"Announce {announce_channel_id}",
|
||||
Type = ChannelType.Announce,
|
||||
Id = id,
|
||||
Id = announce_channel_id,
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user