Skip to content

Commit

Permalink
fix tests 2
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeFZ committed Aug 12, 2023
1 parent 22cd76c commit d2af1b9
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions DragaliaAPI.Test/Services/DragonServiceTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,13 @@ out List<DbPlayerStoryState> stories
dragonRels.Add(DbPlayerDragonReliabilityFactory.Create(DeviceAccountId, Dragons.Garuda));

mockMissionProgressionService.Setup(
x => x.OnDragonBondLevelUp(Dragons.Garuda, UnitElement.Wind, 3, 4)
x =>
x.OnDragonBondLevelUp(
Dragons.Garuda,
UnitElement.Wind,
It.IsIn(3, 6),
It.IsIn(4, 10)
)
);

mockMissionProgressionService.Setup(
Expand Down Expand Up @@ -235,7 +241,9 @@ out List<DbPlayerStoryState> stories
x => x.OnDragonBondLevelUp(dragon, element, expectedLvl - 1, expectedLvl)
);

mockMissionProgressionService.Setup(x => x.OnDragonGiftSent(dragon, gift, element, 1, 0));
mockMissionProgressionService.Setup(
x => x.OnDragonGiftSent(dragon, gift, element, usedQuantity, 0)
);

DragonSendGiftMultipleData responseData = await dragonService.DoDragonSendGiftMultiple(
new DragonSendGiftMultipleRequest()
Expand Down

0 comments on commit d2af1b9

Please sign in to comment.