diff --git a/tests/PKSim.Tests/Core/IndividualSimulationEngineSpecs.cs b/tests/PKSim.Tests/Core/IndividualSimulationEngineSpecs.cs index 27425ec0c..496bc0d2f 100644 --- a/tests/PKSim.Tests/Core/IndividualSimulationEngineSpecs.cs +++ b/tests/PKSim.Tests/Core/IndividualSimulationEngineSpecs.cs @@ -57,7 +57,7 @@ protected override async Task Context() _simulation.Name = "Hello"; _simulation.DataRepository = new DataRepository(); _simulation.AucIV["TOTO"] = 55; - A.CallTo(_simModelManager).WithReturnType().Returns(new SimulationRunResults(true, Enumerable.Empty(), new DataRepository())); + A.CallTo(_simModelManager).WithReturnType().Returns(new SimulationRunResults(Enumerable.Empty(), new DataRepository())); } protected override Task Because() @@ -105,7 +105,7 @@ protected override async Task Context() { await base.Context(); _simulation = A.Fake(); - A.CallTo(_simModelManager).WithReturnType().Returns(new SimulationRunResults(true, Enumerable.Empty(), new DataRepository())); + A.CallTo(_simModelManager).WithReturnType().Returns(new SimulationRunResults( Enumerable.Empty(), new DataRepository())); await sut.RunAsync(_simulation, _simulationRunOption); } @@ -131,7 +131,7 @@ protected override async Task Context() await base.Context(); _simulation = A.Fake(); _simulationRunOption.RaiseEvents = false; - A.CallTo(_simModelManager).WithReturnType().Returns(new SimulationRunResults(true, Enumerable.Empty(), new DataRepository())); + A.CallTo(_simModelManager).WithReturnType().Returns(new SimulationRunResults( Enumerable.Empty(), new DataRepository())); } protected override Task Because() @@ -156,7 +156,7 @@ protected override async Task Context() await base.Context(); _dataRepository = A.Fake(); _simulation = A.Fake(); - A.CallTo(_simModelManager).WithReturnType().Returns(new SimulationRunResults(false, Enumerable.Empty(), _dataRepository)); + A.CallTo(_simModelManager).WithReturnType().Returns(new SimulationRunResults(Enumerable.Empty(), _dataRepository)); await sut.RunAsync(_simulation, _simulationRunOption); }