Merge pull request #15770 from peppy/fix-incorrect-id-usage-in-tests

Fix incorrect usage of `ID` in `TestSceneMultiplayerResults`
This commit is contained in:
Dan Balasescu 2021-11-24 13:51:30 +09:00 committed by GitHub
commit cf17c51df2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ public void TestDisplayResults()
PlaylistItem playlistItem = new PlaylistItem
{
BeatmapID = beatmapInfo.ID,
BeatmapID = beatmapInfo.OnlineID ?? -1,
};
Stack.Push(screen = new MultiplayerResultsScreen(score, 1, playlistItem));

View File

@ -43,7 +43,7 @@ public void TestDisplayTeamResults(int team1Score, int team2Score)
PlaylistItem playlistItem = new PlaylistItem
{
BeatmapID = beatmapInfo.ID,
BeatmapID = beatmapInfo.OnlineID ?? -1,
};
SortedDictionary<int, BindableInt> teamScores = new SortedDictionary<int, BindableInt>