Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ViewInfos/DesignWaterLevelLocationsViewInfoTest.cs =================================================================== diff -u -r7fee6c23de4a7a4420f5eb689b7a555f83baf9ac -r2b2b747a35d38d092eca298599e82ce88ee6e2d3 --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ViewInfos/DesignWaterLevelLocationsViewInfoTest.cs (.../DesignWaterLevelLocationsViewInfoTest.cs) (revision 7fee6c23de4a7a4420f5eb689b7a555f83baf9ac) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ViewInfos/DesignWaterLevelLocationsViewInfoTest.cs (.../DesignWaterLevelLocationsViewInfoTest.cs) (revision 2b2b747a35d38d092eca298599e82ce88ee6e2d3) @@ -65,7 +65,7 @@ public void GetViewName_Always_ReturnsViewName() { // Setup - using (var view = new DesignWaterLevelLocationsView(new ObservableList(), new ObservableTestAssessmentSectionStub(), 0.01)) + using (var view = new DesignWaterLevelLocationsView(new ObservableList(), new ObservableTestAssessmentSectionStub(), () => 0.01)) { // Call string viewName = info.GetViewName(view, Enumerable.Empty()); @@ -158,7 +158,7 @@ var context = new DesignWaterLevelLocationsContext(new ObservableList(), assessmentSection); - using (var view = new DesignWaterLevelLocationsView(new ObservableList(), new ObservableTestAssessmentSectionStub(), 0.01)) + using (var view = new DesignWaterLevelLocationsView(new ObservableList(), new ObservableTestAssessmentSectionStub(), () => 0.01)) using (var ringtoetsPlugin = new RingtoetsPlugin()) { info = ringtoetsPlugin.GetViewInfos().First(tni => tni.ViewType == typeof(DesignWaterLevelLocationsView)); @@ -181,7 +181,7 @@ // Setup var assessmentSection = new ObservableTestAssessmentSectionStub(); - using (var view = new DesignWaterLevelLocationsView(new ObservableList(), assessmentSection, 0.01)) + using (var view = new DesignWaterLevelLocationsView(new ObservableList(), assessmentSection, () => 0.01)) { // Call bool closeForData = info.CloseForData(view, assessmentSection); @@ -198,7 +198,7 @@ var assessmentSectionA = new ObservableTestAssessmentSectionStub(); var assessmentSectionB = new ObservableTestAssessmentSectionStub(); - using (var view = new DesignWaterLevelLocationsView(new ObservableList(), assessmentSectionA, 0.01)) + using (var view = new DesignWaterLevelLocationsView(new ObservableList(), assessmentSectionA, () => 0.01)) { // Call bool closeForData = info.CloseForData(view, assessmentSectionB); @@ -214,7 +214,7 @@ // Setup var assessmentSectionA = new ObservableTestAssessmentSectionStub(); - using (var view = new DesignWaterLevelLocationsView(new ObservableList(), assessmentSectionA, 0.01)) + using (var view = new DesignWaterLevelLocationsView(new ObservableList(), assessmentSectionA, () => 0.01)) { // Call bool closeForData = info.CloseForData(view, new object());