Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/DesignWaterLevelLocationsViewTest.cs =================================================================== diff -u -r0ce2329213d6984c6992ec20319265546692a0b4 -r2a5b882dc9e52231eea22d40d686b075aa72a1aa --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/DesignWaterLevelLocationsViewTest.cs (.../DesignWaterLevelLocationsViewTest.cs) (revision 0ce2329213d6984c6992ec20319265546692a0b4) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/DesignWaterLevelLocationsViewTest.cs (.../DesignWaterLevelLocationsViewTest.cs) (revision 2a5b882dc9e52231eea22d40d686b075aa72a1aa) @@ -379,9 +379,12 @@ const string preprocessorDirectory = "PreprocessorDirectory"; var assessmentSection = mockRepository.Stub(); - var hydraulicBoundaryDatabase = new TestHydraulicBoundaryDatabase(true, preprocessorDirectory) + var hydraulicBoundaryDatabase = new TestHydraulicBoundaryDatabase { - FilePath = databaseFilePath + FilePath = databaseFilePath, + CanUsePreprocessor = true, + UsePreprocessor = true, + PreprocessorDirectory = preprocessorDirectory }; assessmentSection.HydraulicBoundaryDatabase = hydraulicBoundaryDatabase; assessmentSection.Stub(ass => ass.Id).Return(string.Empty); @@ -438,9 +441,12 @@ const string databaseFilePath = "DatabaseFilePath"; var assessmentSection = mockRepository.Stub(); - var hydraulicBoundaryDatabase = new TestHydraulicBoundaryDatabase(false, "InvalidPreprocessorDirectory") + var hydraulicBoundaryDatabase = new TestHydraulicBoundaryDatabase { - FilePath = databaseFilePath + FilePath = databaseFilePath, + CanUsePreprocessor = true, + UsePreprocessor = false, + PreprocessorDirectory = "InvalidPreprocessorDirectory" }; assessmentSection.HydraulicBoundaryDatabase = hydraulicBoundaryDatabase; assessmentSection.Stub(ass => ass.Id).Return(string.Empty); @@ -545,11 +551,6 @@ private class TestHydraulicBoundaryDatabase : HydraulicBoundaryDatabase { - public TestHydraulicBoundaryDatabase(bool usePreprocessor, string preprocessorDirectory) : base(usePreprocessor, preprocessorDirectory) - { - AddLocations(); - } - public TestHydraulicBoundaryDatabase() { AddLocations();