Index: Riskeer/Integration/src/Riskeer.Integration.IO/Importers/HydraulicBoundaryDatabaseImporter.cs =================================================================== diff -u -ref85e55cadeb42b518e2767fc5300d3393d9d802 -r0485f51ed136b0e7e261f9bb4ab3cbb20f867d8d --- Riskeer/Integration/src/Riskeer.Integration.IO/Importers/HydraulicBoundaryDatabaseImporter.cs (.../HydraulicBoundaryDatabaseImporter.cs) (revision ef85e55cadeb42b518e2767fc5300d3393d9d802) +++ Riskeer/Integration/src/Riskeer.Integration.IO/Importers/HydraulicBoundaryDatabaseImporter.cs (.../HydraulicBoundaryDatabaseImporter.cs) (revision 0485f51ed136b0e7e261f9bb4ab3cbb20f867d8d) @@ -255,7 +255,7 @@ NotifyProgress(RiskeerCommonIOResources.Importer_ProgressText_Adding_imported_data_to_AssessmentSection, 4, numberOfSteps); changedObservables.AddRange(updateHandler.Update(ImportTarget, readHydraulicBoundaryDatabase, readHydraulicLocationConfigurationDatabase, - excludedLocationIds, FilePath, ImportTarget.HydraulicLocationConfigurationDatabase.FilePath)); + excludedLocationIds, FilePath)); } private ReadResult HandleCriticalFileReadError(Exception e) Index: Riskeer/Integration/test/Riskeer.Integration.IO.Test/Importers/HydraulicBoundaryDatabaseImporterTest.cs =================================================================== diff -u -r6038702edc6ecc5a2dd82a9380c1829948c023e9 -r0485f51ed136b0e7e261f9bb4ab3cbb20f867d8d --- Riskeer/Integration/test/Riskeer.Integration.IO.Test/Importers/HydraulicBoundaryDatabaseImporterTest.cs (.../HydraulicBoundaryDatabaseImporterTest.cs) (revision 6038702edc6ecc5a2dd82a9380c1829948c023e9) +++ Riskeer/Integration/test/Riskeer.Integration.IO.Test/Importers/HydraulicBoundaryDatabaseImporterTest.cs (.../HydraulicBoundaryDatabaseImporterTest.cs) (revision 0485f51ed136b0e7e261f9bb4ab3cbb20f867d8d) @@ -360,6 +360,7 @@ { // Setup string hlcdFilePath = Path.Combine(Path.GetDirectoryName(filePath), "hlcd.sqlite"); + var hydraulicBoundaryData = new HydraulicBoundaryData { HydraulicLocationConfigurationDatabase = @@ -375,8 +376,7 @@ Arg.Is.NotNull, Arg.Is.NotNull, Arg>.Is.NotNull, - Arg.Is.Equal(filePath), - Arg.Is.Equal(hlcdFilePath))) + Arg.Is.Equal(filePath))) .WhenCalled(invocation => { var readHydraulicBoundaryDatabase = (ReadHydraulicBoundaryDatabase) invocation.Arguments[1]; @@ -428,8 +428,7 @@ Arg.Is.NotNull, Arg.Is.NotNull, Arg>.Is.NotNull, - Arg.Is.Equal(hrdFilePath), - Arg.Is.Equal(hlcdFilePath))) + Arg.Is.Equal(hrdFilePath))) .WhenCalled(invocation => { AssertReadHydraulicBoundaryDatabase((ReadHydraulicBoundaryDatabase) invocation.Arguments[1]); @@ -462,7 +461,7 @@ // Setup var mocks = new MockRepository(); var handler = mocks.Stub(); - handler.Stub(h => h.Update(null, null, null, null, null, null)).IgnoreArguments().Return(Enumerable.Empty()); + handler.Stub(h => h.Update(null, null, null, null, null)).IgnoreArguments().Return(Enumerable.Empty()); mocks.ReplayAll(); var progressChangeNotifications = new List(); @@ -526,7 +525,7 @@ // Setup var mocks = new MockRepository(); var handler = mocks.Stub(); - handler.Stub(h => h.Update(null, null, null, null, null, null)).IgnoreArguments().Return(Enumerable.Empty()); + handler.Stub(h => h.Update(null, null, null, null, null)).IgnoreArguments().Return(Enumerable.Empty()); mocks.ReplayAll(); var importer = new HydraulicBoundaryDatabaseImporter(CreateLinkedHydraulicBoundaryData(), handler, validHrdFilePath); @@ -571,7 +570,6 @@ Arg.Is.NotNull, Arg.Is.NotNull, Arg>.Is.NotNull, - Arg.Is.NotNull, Arg.Is.NotNull)) .Return(new[] {