Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zysim committed Feb 28, 2025
1 parent 2a636d3 commit 25b2ddf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions LeaderboardBackend.Test/Leaderboards.cs
Original file line number Diff line number Diff line change
Expand Up @@ -843,8 +843,8 @@ await FluentActions.Awaiting(() => _apiClient.Patch(
"dr-langeskov-the-tiger-and-the-terribly-cursed-emerald-a-whirlwind-heist-crows-crows-crows"
)]
[TestCase("The Legendary Starfy", "伝説のスタフィー", "densetsu-no-stafy", "デンセツノスタフィー")]
[TestCase("Resident Evil", "", "resident-evil", null)]
public async Task UpdateLeaderboard_BadData(string oldName, string? newName, string oldSlug, string? newSlug)
[TestCase("Resident Evil", "", "resident-evil", "")]
public async Task UpdateLeaderboard_BadData(string oldName, string newName, string oldSlug, string newSlug)
{
ApplicationContext context = _factory.Services.CreateScope().ServiceProvider.GetRequiredService<ApplicationContext>();

Expand Down
1 change: 0 additions & 1 deletion LeaderboardBackend.Test/Runs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ await _apiClient.Post<RunViewModel>(
{
PlayedOn = LocalDate.MinIsoValue,
Info = null,
TimeOrScore = Duration.FromHours(2).ToInt64Nanoseconds(),
CategoryId = _categoryId
},
Jwt = _jwt
Expand Down

0 comments on commit 25b2ddf

Please sign in to comment.