Skip to content

Commit

Permalink
Fix for StoryServiceTest error
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredstrong89 committed May 8, 2024
1 parent a0c4dda commit 9f9da85
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion DragaliaAPI/DragaliaAPI.Test/Services/StoryServiceTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
using DragaliaAPI.Database.Repositories;
using DragaliaAPI.Features.Fort;
using DragaliaAPI.Features.Missions;
using DragaliaAPI.Features.Player;
using DragaliaAPI.Features.Present;
using DragaliaAPI.Features.Reward;
using DragaliaAPI.Features.Shop;
using DragaliaAPI.Models.Generated;
Expand All @@ -24,6 +26,8 @@ public class StoryServiceTest
private readonly Mock<IMissionProgressionService> mockMissionProgressionService;
private readonly Mock<IRewardService> mockRewardService;
private readonly Mock<IPaymentService> mockPaymentService;
private readonly Mock<IPresentService> mockPresentService;
private readonly Mock<IUserService> mockUserService;

private readonly IStoryService storyService;

Expand All @@ -34,21 +38,25 @@ public StoryServiceTest()
this.mockInventoryRepository = new(MockBehavior.Strict);
this.mockLogger = new();
this.mockTutorialService = new(MockBehavior.Strict);
this.mockPresentService = new(MockBehavior.Strict);
this.mockFortRepository = new(MockBehavior.Strict);
this.mockMissionProgressionService = new(MockBehavior.Strict);
this.mockRewardService = new(MockBehavior.Strict);
this.mockPaymentService = new(MockBehavior.Strict);
this.mockUserService = new(MockBehavior.Strict);

this.storyService = new StoryService(
mockStoryRepository.Object,
mockLogger.Object,
mockUserDataRepository.Object,
mockInventoryRepository.Object,
mockPresentService.Object,
mockTutorialService.Object,
mockFortRepository.Object,
mockMissionProgressionService.Object,
mockRewardService.Object,
mockPaymentService.Object
mockPaymentService.Object,
mockUserService.Object
);
}

Expand Down

0 comments on commit 9f9da85

Please sign in to comment.