1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-10 03:57:20 +08:00

Set online status in activity test

The test would check nothing otherwise.
This commit is contained in:
Bartłomiej Dach 2020-03-04 22:07:02 +01:00
parent 5fa2638e81
commit afa3ce494d

View File

@ -66,6 +66,8 @@ namespace osu.Game.Tests.Visual.Online
[Test]
public void TestUserActivity()
{
AddStep("set online status", () => peppy.Status.Value = new UserStatusOnline());
AddStep("idle", () => activity.Value = null);
AddStep("spectating", () => activity.Value = new UserActivity.Spectating());
AddStep("solo", () => activity.Value = new UserActivity.SoloGame(null, null));