Fix tests not building.

This commit is contained in:
Lucas A 2020-11-08 14:38:59 +01:00
parent 48fce8c4b9
commit f1942fdb9c
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ public TestSceneNowPlayingCommand()
[Test]
public void TestGenericActivity()
{
AddStep("Set activity", () => API.Activity.Value = new UserActivity.InLobby());
AddStep("Set activity", () => API.Activity.Value = new UserActivity.InLobby(null));
AddStep("Run command", () => Add(new NowPlayingCommand()));
@ -57,7 +57,7 @@ public void TestPlayActivity()
[TestCase(false)]
public void TestLinkPresence(bool hasOnlineId)
{
AddStep("Set activity", () => API.Activity.Value = new UserActivity.InLobby());
AddStep("Set activity", () => API.Activity.Value = new UserActivity.InLobby(null));
AddStep("Set beatmap", () => Beatmap.Value = new DummyWorkingBeatmap(Audio, null)
{