mirror of
https://github.com/ppy/osu
synced 2025-01-01 20:02:14 +00:00
Resolve CI/CA errors
This commit is contained in:
parent
738f1f0c56
commit
25b080c78d
@ -24,11 +24,11 @@ namespace osu.Game.Tests.Visual.Online
|
||||
[SetUp]
|
||||
public void Setup()
|
||||
{
|
||||
friend = new User() { Id = 0, Username = "Friend" };
|
||||
publicChannel = new Channel() { Id = 1, Name = "osu" };
|
||||
friend = new User { Id = 0, Username = "Friend" };
|
||||
publicChannel = new Channel { Id = 1, Name = "osu" };
|
||||
privateMesssageChannel = new Channel(friend) { Id = 2, Name = friend.Username, Type = ChannelType.PM };
|
||||
|
||||
Child = testContainer = new TestContainer(new Channel[] { publicChannel, privateMesssageChannel })
|
||||
Child = testContainer = new TestContainer(new[] { publicChannel, privateMesssageChannel })
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
};
|
||||
@ -57,7 +57,7 @@ namespace osu.Game.Tests.Visual.Online
|
||||
|
||||
private class TestContainer : Container
|
||||
{
|
||||
private Channel[] channels;
|
||||
private readonly Channel[] channels;
|
||||
|
||||
public TestContainer(Channel[] channels) => this.channels = channels;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user