Index: Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Service.Test/ClosingStructuresCalculationServiceTest.cs =================================================================== diff -u -r156b46b92a4beaf22dc59e628db19be5536468fc -rf59a022b5a9865fb288c02861489d744e019487d --- Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Service.Test/ClosingStructuresCalculationServiceTest.cs (.../ClosingStructuresCalculationServiceTest.cs) (revision 156b46b92a4beaf22dc59e628db19be5536468fc) +++ Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Service.Test/ClosingStructuresCalculationServiceTest.cs (.../ClosingStructuresCalculationServiceTest.cs) (revision f59a022b5a9865fb288c02861489d744e019487d) @@ -71,11 +71,10 @@ // Setup var mockRepository = new MockRepository(); IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(new ClosingStructuresFailureMechanism(), - mockRepository); + mockRepository, + Path.Combine(testDataPath, "HRD dutch coast south.sqlite")); mockRepository.ReplayAll(); - assessmentSection.HydraulicBoundaryDatabase.FilePath = Path.Combine(testDataPath, "HRD dutch coast south.sqlite"); - var calculation = new TestClosingStructuresCalculation(); SetInvalidInputParameters(calculation.InputParameters, (RoundedDouble) value); @@ -125,11 +124,10 @@ // Setup var mockRepository = new MockRepository(); IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(new ClosingStructuresFailureMechanism(), - mockRepository); + mockRepository, + Path.Combine(testDataPath, "HRD dutch coast south.sqlite")); mockRepository.ReplayAll(); - assessmentSection.HydraulicBoundaryDatabase.FilePath = Path.Combine(testDataPath, "HRD dutch coast south.sqlite"); - var calculation = new TestClosingStructuresCalculation { InputParameters = @@ -185,11 +183,10 @@ // Setup var mockRepository = new MockRepository(); IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(new ClosingStructuresFailureMechanism(), - mockRepository); + mockRepository, + Path.Combine(testDataPath, "HRD dutch coast south.sqlite")); mockRepository.ReplayAll(); - assessmentSection.HydraulicBoundaryDatabase.FilePath = Path.Combine(testDataPath, "HRD dutch coast south.sqlite"); - var calculation = new TestClosingStructuresCalculation { InputParameters = @@ -240,11 +237,10 @@ // Setup var mockRepository = new MockRepository(); IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(new ClosingStructuresFailureMechanism(), - mockRepository); + mockRepository, + Path.Combine(testDataPath, "HRD dutch coast south.sqlite")); mockRepository.ReplayAll(); - assessmentSection.HydraulicBoundaryDatabase.FilePath = Path.Combine(testDataPath, "HRD dutch coast south.sqlite"); - var calculation = new TestClosingStructuresCalculation { InputParameters = @@ -274,11 +270,11 @@ { // Setup var mockRepository = new MockRepository(); - IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(new ClosingStructuresFailureMechanism(), mockRepository); + IAssessmentSection assessmentSection = AssessmentSectionHelper.CreateAssessmentSectionStub(new ClosingStructuresFailureMechanism(), + mockRepository, + Path.Combine(testDataPath, "HRD dutch coast south.sqlite")); mockRepository.ReplayAll(); - assessmentSection.HydraulicBoundaryDatabase.FilePath = Path.Combine(testDataPath, "HRD dutch coast south.sqlite"); - var calculation = new TestClosingStructuresCalculation { InputParameters =