diff --git a/LeaderboardBackend.Test/Leaderboards.cs b/LeaderboardBackend.Test/Leaderboards.cs index 137aaabf..2f931182 100644 --- a/LeaderboardBackend.Test/Leaderboards.cs +++ b/LeaderboardBackend.Test/Leaderboards.cs @@ -423,12 +423,14 @@ await FluentActions.Awaiting(() => _apiClient.Delete( public async Task DeleteLeaderboard_AlreadyDeleted() { ApplicationContext context = _factory.Services.CreateScope().ServiceProvider.GetRequiredService(); + Instant now = _clock.GetCurrentInstant(); Leaderboard lb = new() { Name = "The Elder Scrolls V: Skyrim", Slug = "tesv-skyrim", - DeletedAt = _clock.GetCurrentInstant() + UpdatedAt = now, + DeletedAt = now }; context.Leaderboards.Add(lb);