Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
araszka committed Sep 29, 2024
1 parent c14d11b commit 92ce113
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@ public Task Gets_Rank_From_Sorted_Checkpoints_List()

Assert.Equal(1, player1Rank);
Assert.Equal(2, player2Rank);
Assert.Equal(3, player3Rank);
Assert.Equal(4, player4Rank);
Assert.Equal(4, player3Rank);
Assert.Equal(3, player4Rank);

return Task.CompletedTask;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ namespace EvoSC.Modules.Official.TeamInfoModule.Tests.Controllers;
public class TeamInfoEventControllerTests : ControllerMock<TeamInfoEventController, IEventControllerContext>
{
private Mock<ITeamInfoService> _teamInfoService = new();
private readonly Mock<ILogger<TeamInfoEventController>> _logger = new();

public TeamInfoEventControllerTests()
{
InitMock(_teamInfoService, _logger.Object);
InitMock(_teamInfoService);
}

[Fact]
Expand Down

0 comments on commit 92ce113

Please sign in to comment.