diff --git a/UnitTests/Tests/Utils/HashUtilTests.cs b/UnitTests/Tests/Utils/HashUtilTests.cs index e433edc2..b7611a06 100644 --- a/UnitTests/Tests/Utils/HashUtilTests.cs +++ b/UnitTests/Tests/Utils/HashUtilTests.cs @@ -7,7 +7,7 @@ namespace UnitTests.Tests.Utils; [TestClass] public class HashUtilTests { - protected HashUtil _hashUtil = new(new RandomUtil(new MockLogger(), new JsonCloner())); + protected HashUtil _hashUtil = new(new RandomUtil(new MockLogger(), new JsonCloner(new JsonUtil()))); [TestMethod] public void GenerateTest() diff --git a/UnitTests/Tests/Utils/RandomUtilTests.cs b/UnitTests/Tests/Utils/RandomUtilTests.cs index 5218835a..f052e2e8 100644 --- a/UnitTests/Tests/Utils/RandomUtilTests.cs +++ b/UnitTests/Tests/Utils/RandomUtilTests.cs @@ -7,7 +7,7 @@ namespace UnitTests.Tests.Utils; [TestClass] public sealed class RandomUtilTests { - private readonly RandomUtil _randomUtil = new(new MockLogger(), new JsonCloner()); + private readonly RandomUtil _randomUtil = new(new MockLogger(), new JsonCloner(new JsonUtil())); [TestMethod] public void GetIntTest()