Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/HydraulicBoundaryDatabaseContextTreeNodeInfoTest.cs =================================================================== diff -u -rcc0d30419fa22495223f4c7da667e50d4aa189e2 -rf8c28b3b04cdabb62ea37772efcb1f4ebbbf2b9e --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/HydraulicBoundaryDatabaseContextTreeNodeInfoTest.cs (.../HydraulicBoundaryDatabaseContextTreeNodeInfoTest.cs) (revision cc0d30419fa22495223f4c7da667e50d4aa189e2) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/HydraulicBoundaryDatabaseContextTreeNodeInfoTest.cs (.../HydraulicBoundaryDatabaseContextTreeNodeInfoTest.cs) (revision f8c28b3b04cdabb62ea37772efcb1f4ebbbf2b9e) @@ -459,7 +459,7 @@ // Then string expectedMessage = - $"Fout bij het lezen van bestand '{testFile}': kon het rekeninstellingen bestand niet openen. Fout bij het lezen van bestand '{HydraulicDatabaseHelper.GetHydraulicBoundarySettingsDatabase(testFile)}': het bestand bestaat niet."; + $"Fout bij het lezen van bestand '{testFile}': kon het rekeninstellingen bestand niet openen. Fout bij het lezen van bestand '{HydraulicBoundaryDatabaseHelper.GetHydraulicBoundarySettingsDatabase(testFile)}': het bestand bestaat niet."; TestHelper.AssertLogMessageIsGenerated(action, expectedMessage); Assert.IsNull(assessmentSection.HydraulicBoundaryDatabase); @@ -522,15 +522,15 @@ public void GivenFilePathIsSet_WhenOpeningSameFileFromContextMenu_ThenCalculationsWillNotBeClearedAndNoNotifyObservers() { // Given - string validFile = Path.Combine(testDataPath, "HRD dutch coast south.sqlite"); + string validFilePath = Path.Combine(testDataPath, "HRD dutch coast south.sqlite"); var assessmentObserver = mocks.StrictMock(); var grassCoverErosionOutwardsLocationsObserver = mocks.StrictMock(); const int contextMenuImportHydraulicBoundaryDatabaseIndex = 0; var assessmentSection = new AssessmentSection(AssessmentSectionComposition.Dike); using (var importer = new HydraulicBoundaryDatabaseImporter()) { - importer.Import(assessmentSection, validFile); + importer.Import(assessmentSection, validFilePath); } assessmentSection.Attach(assessmentObserver); @@ -577,7 +577,7 @@ DialogBoxHandler = (name, wnd) => { var tester = new OpenFileDialogTester(wnd); - tester.OpenFile(validFile); + tester.OpenFile(validFilePath); }; TreeNodeInfo info = GetInfo(plugin); @@ -589,7 +589,7 @@ Action action = () => contextMenuAdapter.Items[contextMenuImportHydraulicBoundaryDatabaseIndex].PerformClick(); // Then - string expectedMessage = $"Database op pad '{validFile}' gekoppeld."; + string expectedMessage = $"Database op pad '{validFilePath}' gekoppeld."; TestHelper.AssertLogMessageIsGenerated(action, expectedMessage); Assert.IsNotNull(assessmentSection.HydraulicBoundaryDatabase);