Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Integration.Test/GrassCoverErosionOutwardsDesignWaterLevelLocationsViewIntegrationTest.cs =================================================================== diff -u -r7769820ef9923955f246f81c6ea320f92c3d65bb -r6b3ad06df3252c2b4af8b9c755c832a723d8e18f --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Integration.Test/GrassCoverErosionOutwardsDesignWaterLevelLocationsViewIntegrationTest.cs (.../GrassCoverErosionOutwardsDesignWaterLevelLocationsViewIntegrationTest.cs) (revision 7769820ef9923955f246f81c6ea320f92c3d65bb) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Integration.Test/GrassCoverErosionOutwardsDesignWaterLevelLocationsViewIntegrationTest.cs (.../GrassCoverErosionOutwardsDesignWaterLevelLocationsViewIntegrationTest.cs) (revision 6b3ad06df3252c2b4af8b9c755c832a723d8e18f) @@ -21,7 +21,6 @@ using System.Linq; using System.Windows.Forms; -using Core.Common.Base; using Core.Common.Util.Reflection; using NUnit.Framework; using Rhino.Mocks; @@ -103,8 +102,7 @@ { Contribution = 5 }; - - var locations = new ObservableList + failureMechanism.HydraulicBoundaryLocations.AddRange(new[] { new HydraulicBoundaryLocation(1, "1", 1.0, 1.0), new HydraulicBoundaryLocation(2, "2", 2.0, 2.0) @@ -121,10 +119,9 @@ Output = new TestHydraulicBoundaryLocationOutput(2.45) } } - }; + }); - var view = new GrassCoverErosionOutwardsDesignWaterLevelLocationsView(locations, - failureMechanism, + var view = new GrassCoverErosionOutwardsDesignWaterLevelLocationsView(failureMechanism, new AssessmentSection(AssessmentSectionComposition.Dike)); testForm.Controls.Add(view);