Index: Riskeer/Integration/test/Riskeer.Integration.IO.Test/Importers/HydraulicLocationConfigurationDatabaseImporterTest.cs =================================================================== diff -u -rd0cc97885ac7ea81d24d9890c493772c28bf773c -r8daca8e1d70facb65f9e67eede4f705ee6f87e2b --- Riskeer/Integration/test/Riskeer.Integration.IO.Test/Importers/HydraulicLocationConfigurationDatabaseImporterTest.cs (.../HydraulicLocationConfigurationDatabaseImporterTest.cs) (revision d0cc97885ac7ea81d24d9890c493772c28bf773c) +++ Riskeer/Integration/test/Riskeer.Integration.IO.Test/Importers/HydraulicLocationConfigurationDatabaseImporterTest.cs (.../HydraulicLocationConfigurationDatabaseImporterTest.cs) (revision 8daca8e1d70facb65f9e67eede4f705ee6f87e2b) @@ -489,20 +489,28 @@ private static HydraulicBoundaryData CreateHydraulicBoundaryData(string filePath) { - var hydraulicBoundaryData = new HydraulicBoundaryData + return new HydraulicBoundaryData { + FilePath = filePath, + HydraulicLocationConfigurationSettings = + { + FilePath = filePath, + ScenarioName = "ScenarioName", + Year = 2022, + Scope = "Scope", + SeaLevel = "SeaLevel", + RiverDischarge = "RiverDischarge", + LakeLevel = "LakeLevel", + WindDirection = "WindDirection", + WindSpeed = "WindSpeed", + Comment = "Comment", + UsePreprocessorClosure = false + }, HydraulicBoundaryDatabases = { new HydraulicBoundaryDatabase() - }, - FilePath = filePath + } }; - - hydraulicBoundaryData.HydraulicLocationConfigurationSettings.SetValues(filePath, "scenarioName", 2022, "scope", false, - "seaLevel", "riverDischarge", "lakeLevel", - "windDirection", "windSpeed", "comment"); - - return hydraulicBoundaryData; } private static void AssertImportFailed(Action call, string errorMessage, ref bool importSuccessful)