Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ protected void IgnoreProcessorExceptions()
protected Beatmap AddBeatmap(Action<Beatmap>? beatmapSetup = null, Action<BeatmapSet>? beatmapSetSetup = null)
{
var beatmap = new Beatmap { approved = BeatmapOnlineStatus.Ranked };
var beatmapSet = new BeatmapSet { approved = BeatmapOnlineStatus.Ranked };
var beatmapSet = new BeatmapSet { approved = BeatmapOnlineStatus.Ranked, approved_date = DateTimeOffset.Now.AddHours(-1) };

beatmapSetup?.Invoke(beatmap);
beatmapSetSetup?.Invoke(beatmapSet);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// See the LICENCE file in the repository root for full licence text.

using osu.Game.Online.API;
using osu.Game.Rulesets.Osu.Difficulty;
using osu.Game.Rulesets.Osu.Mods;
using osu.Server.Queues.ScoreStatisticsProcessor.Models;
using Xunit;
Expand All @@ -16,6 +17,8 @@ public GearShiftTest()
{
AddMedal(339);
beatmap = AddBeatmap();

AddBeatmapAttributes<OsuDifficultyAttributes>(beatmap.beatmap_id, mods: [new OsuModDoubleTime()]);
}

[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,6 @@ public void ModsThatDoNotGivePpAreDisallowed()
new OsuModDifficultyAdjust(),
// Taiko
new TaikoModRandom(),
new TaikoModSwap(),
// Catch
new CatchModMirror(),
new CatchModFloatingFruits(),
Expand Down