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
@@ -1,6 +1,8 @@
using System.Net;
using Sunrise.API.Serializable.Response;
using Sunrise.Shared.Application;
using Sunrise.Shared.Enums.Beatmaps;
using Sunrise.Shared.Extensions.Beatmaps;
using Sunrise.Tests.Abstracts;
using Sunrise.Tests.Extensions;
using Sunrise.Tests.Services.Mock;
Expand All @@ -23,6 +25,7 @@ public async Task TestGetBeatmapSetHype(bool shouldHypeBefore)

var beatmapSet = _mocker.Beatmap.GetRandomBeatmapSet();
beatmapSet.Id = 1;
beatmapSet.StatusString = BeatmapStatusWeb.Graveyard.BeatmapStatusWebToString();

await _mocker.Beatmap.MockBeatmapSet(beatmapSet);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ public async Task TestGetHypedBeatmapSets(bool shouldAddedHypeStartHypeTrain)

var beatmapSet = _mocker.Beatmap.GetRandomBeatmapSet();
beatmapSet.Id = 1;
beatmapSet.StatusString = BeatmapStatusWeb.Graveyard.BeatmapStatusWebToString();

await _mocker.Beatmap.MockBeatmapSet(beatmapSet);

Expand Down
2 changes: 1 addition & 1 deletion Sunrise.Shared/Application/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public static string WebTokenSecret

return status;
}).ToArray() ??
[BeatmapStatusWeb.Qualified, BeatmapStatusWeb.Approved, BeatmapStatusWeb.Ranked, BeatmapStatusWeb.Loved];
[BeatmapStatusWeb.Qualified, BeatmapStatusWeb.Approved, BeatmapStatusWeb.Ranked, BeatmapStatusWeb.Loved, BeatmapStatusWeb.Wip, BeatmapStatusWeb.Pending];

// Telemetry section
public static bool UseMetrics => Config.GetSection("Telemetry").GetValue<bool?>("UseMetrics") ?? true;
Expand Down
Loading