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:
parent
5fa2638e81
commit
afa3ce494d
@ -66,6 +66,8 @@ namespace osu.Game.Tests.Visual.Online
|
|||||||
[Test]
|
[Test]
|
||||||
public void TestUserActivity()
|
public void TestUserActivity()
|
||||||
{
|
{
|
||||||
|
AddStep("set online status", () => peppy.Status.Value = new UserStatusOnline());
|
||||||
|
|
||||||
AddStep("idle", () => activity.Value = null);
|
AddStep("idle", () => activity.Value = null);
|
||||||
AddStep("spectating", () => activity.Value = new UserActivity.Spectating());
|
AddStep("spectating", () => activity.Value = new UserActivity.Spectating());
|
||||||
AddStep("solo", () => activity.Value = new UserActivity.SoloGame(null, null));
|
AddStep("solo", () => activity.Value = new UserActivity.SoloGame(null, null));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user