diff --git a/osu.Game.Tests/Mods/SettingSourceAttributeTest.cs b/osu.Game.Tests/Mods/SettingSourceAttributeTest.cs index 83d5b66bd7..b1d8b7e7fa 100644 --- a/osu.Game.Tests/Mods/SettingSourceAttributeTest.cs +++ b/osu.Game.Tests/Mods/SettingSourceAttributeTest.cs @@ -66,7 +66,7 @@ namespace osu.Game.Tests.Mods private partial class CustomControl : Drawable, IHasCurrentValue { - public Bindable Current { get; } = new Bindable(); + public Bindable Current { get; set; } = new Bindable(); } } } diff --git a/osu.Game.Tournament.Tests/Components/TestSceneTournamentMatchChatDisplay.cs b/osu.Game.Tournament.Tests/Components/TestSceneTournamentMatchChatDisplay.cs index 044e5ebbbf..de91a66e56 100644 --- a/osu.Game.Tournament.Tests/Components/TestSceneTournamentMatchChatDisplay.cs +++ b/osu.Game.Tournament.Tests/Components/TestSceneTournamentMatchChatDisplay.cs @@ -4,7 +4,6 @@ using System.Linq; using NUnit.Framework; using osu.Framework.Allocation; -using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Testing; using osu.Game.Online.API.Requests.Responses; @@ -80,11 +79,11 @@ namespace osu.Game.Tournament.Tests.Components { Team1 = { - Value = new TournamentTeam { Players = new BindableList { redUser } } + Value = new TournamentTeam { Players = { redUser } } }, Team2 = { - Value = new TournamentTeam { Players = new BindableList { blueUser, blueUserWithCustomColour } } + Value = new TournamentTeam { Players = { blueUser, blueUserWithCustomColour } } } });