mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 16:02:58 +08:00
CI fixes
This commit is contained in:
parent
01f5c77dac
commit
208224cc0d
@ -35,11 +35,11 @@ namespace osu.Game.Tests.Visual.Online
|
||||
public void TestVisibility()
|
||||
{
|
||||
AddStep("Change metadata to null", () => metadataBindable.Value = null);
|
||||
AddAssert("Panel is hidden", () => panel.IsPresent == false);
|
||||
AddAssert("Panel is hidden", () => !panel.IsPresent);
|
||||
AddStep("Change metadata", () => metadataBindable.Value = metadata);
|
||||
AddAssert("Panel is visible", () => panel.IsPresent == true);
|
||||
AddAssert("Panel is visible", () => panel.IsPresent);
|
||||
AddStep("Change metadata to null", () => metadataBindable.Value = null);
|
||||
AddAssert("Panel is hidden", () => panel.IsPresent == false);
|
||||
AddAssert("Panel is hidden", () => !panel.IsPresent);
|
||||
}
|
||||
|
||||
private static readonly APINewsSidebar metadata = new APINewsSidebar
|
||||
|
@ -160,7 +160,7 @@ namespace osu.Game.Overlays.News.Sidebar
|
||||
{
|
||||
IdleColour = colourProvider.Light2;
|
||||
HoverColour = colourProvider.Light1;
|
||||
Action = () => { }; // Avoid button being disabled since there's no proper action assigned.
|
||||
Action = () => { }; // Avoid button being disabled since there's no proper action assigned.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user