Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/DesignWaterLevelLocationsContextTreeNodeInfoTest.cs =================================================================== diff -u -r44d4c114a254db9859fbf71812e599c468dcbe77 -re5d8b58dcb5fcf82338b0511f3e9dc4d78633fda --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/DesignWaterLevelLocationsContextTreeNodeInfoTest.cs (.../DesignWaterLevelLocationsContextTreeNodeInfoTest.cs) (revision 44d4c114a254db9859fbf71812e599c468dcbe77) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/DesignWaterLevelLocationsContextTreeNodeInfoTest.cs (.../DesignWaterLevelLocationsContextTreeNodeInfoTest.cs) (revision e5d8b58dcb5fcf82338b0511f3e9dc4d78633fda) @@ -515,9 +515,10 @@ } }; + var hydraulicBoundaryLocationCalculation = new HydraulicBoundaryLocationCalculation(); var context = new DesignWaterLevelLocationsContext(assessmentSection.HydraulicBoundaryDatabase.Locations, assessmentSection, - hbl => new HydraulicBoundaryLocationCalculation()); + hbl => hydraulicBoundaryLocationCalculation); using (var treeViewControl = new TreeViewControl()) { @@ -568,7 +569,7 @@ Assert.AreEqual($"Toetspeil berekenen voor locatie '{location.Name}' is gelukt.", msgs[7]); }); - HydraulicBoundaryLocationOutput output = location.DesignWaterLevelCalculation1.Output; + HydraulicBoundaryLocationOutput output = hydraulicBoundaryLocationCalculation.Output; Assert.AreEqual(0, output.Result, output.Result.GetAccuracy()); Assert.AreEqual(CalculationConvergence.CalculatedNotConverged, output.CalculationConvergence); }