Skip to content

Commit

Permalink
Fixed unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sven-n committed Nov 24, 2024
1 parent 4f454bd commit 9650b6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/MUnique.OpenMU.Tests/ItemConsumptionTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@ private Item GetItemWithPossibleOption()
var item = new Mock<Item>();
item.SetupAllProperties();
item.Setup(i => i.ItemOptions).Returns(new List<ItemOptionLink>());
item.Setup(i => i.ItemSetGroups).Returns(new List<ItemOfItemSet>());
var definition = new Mock<ItemDefinition>();
definition.SetupAllProperties();
definition.Setup(d => d.PossibleItemOptions).Returns(new List<ItemOptionDefinition>());
Expand Down
1 change: 1 addition & 0 deletions tests/MUnique.OpenMU.Tests/ItemPriceCalculatorTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ private void CheckPrice(byte id, byte dropLevel, byte maxDurability, byte height
var itemMock = new Mock<Item>();
itemMock.SetupAllProperties();
itemMock.Setup(i => i.ItemOptions).Returns(new List<ItemOptionLink>());
itemMock.Setup(i => i.ItemSetGroups).Returns(new List<ItemOfItemSet>());
var item = itemMock.Object;
item.Definition = itemDefinition;
item.Level = level;
Expand Down

0 comments on commit 9650b6e

Please sign in to comment.