Give playlist items a PlayedAt date

This commit is contained in:
Dan Balasescu
2021-12-03 20:05:25 +09:00
parent 9d6fe558c2
commit d5803e541b
6 changed files with 26 additions and 30 deletions

View File

@ -1,6 +1,7 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Allocation;
@ -168,7 +169,8 @@ namespace osu.Game.Tests.Visual.Multiplayer
{
Beatmap = { Value = importedBeatmap },
BeatmapID = importedBeatmap.OnlineID ?? -1,
Expired = expired
Expired = expired,
PlayedAt = DateTimeOffset.Now
})));
/// <summary>