From c950d1359acb9528335f15d6db5987ea188c0f04 Mon Sep 17 00:00:00 2001 From: FreezyLemon Date: Thu, 7 Dec 2017 19:39:13 +0100 Subject: [PATCH] various CI adjustments --- osu.Game.Tests/Visual/TestCaseChatLink.cs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/osu.Game.Tests/Visual/TestCaseChatLink.cs b/osu.Game.Tests/Visual/TestCaseChatLink.cs index 1b6556e836..6a36411407 100644 --- a/osu.Game.Tests/Visual/TestCaseChatLink.cs +++ b/osu.Game.Tests/Visual/TestCaseChatLink.cs @@ -13,7 +13,7 @@ using System.Linq; namespace osu.Game.Tests.Visual { - class TestCaseChatLink : OsuTestCase + internal class TestCaseChatLink : OsuTestCase { private readonly BeatmapSetOverlay beatmapSetOverlay; private readonly ChatOverlay chat; @@ -21,7 +21,7 @@ namespace osu.Game.Tests.Visual private DependencyContainer dependencies; private readonly TestChatLineContainer textContainer; - private ChatLine[] testSprites; + private readonly ChatLine[] testSprites; protected override IReadOnlyDependencyContainer CreateLocalDependencies(IReadOnlyDependencyContainer parent) => dependencies = new DependencyContainer(parent); @@ -67,7 +67,7 @@ namespace osu.Game.Tests.Visual private class DummyMessage : Message { private static long messageCounter; - private readonly static User sender = new User + private static readonly User sender = new User { Username = @"Somebody", Id = 1, @@ -90,9 +90,6 @@ namespace osu.Game.Tests.Visual } }; - public new long Id = 42; - public new TargetType TargetType = TargetType.Channel; - public new int TargetId = 1; public new DateTimeOffset Timestamp = DateTimeOffset.Now; public DummyMessage(string text, bool isAction = false)