Index: Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Plugin.Test/TreeNodeInfos/StabilityStoneCoverWaveConditionsCalculationContextTreeNodeInfoTest.cs =================================================================== diff -u -r413127864a46a671ee8361e152d97d9b04daedca -rd05654718000a34dc822015a143df7f141afa302 --- Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Plugin.Test/TreeNodeInfos/StabilityStoneCoverWaveConditionsCalculationContextTreeNodeInfoTest.cs (.../StabilityStoneCoverWaveConditionsCalculationContextTreeNodeInfoTest.cs) (revision 413127864a46a671ee8361e152d97d9b04daedca) +++ Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Plugin.Test/TreeNodeInfos/StabilityStoneCoverWaveConditionsCalculationContextTreeNodeInfoTest.cs (.../StabilityStoneCoverWaveConditionsCalculationContextTreeNodeInfoTest.cs) (revision d05654718000a34dc822015a143df7f141afa302) @@ -1032,14 +1032,19 @@ IAssessmentSection assessmentSection = CreateAssessmentSectionWithHydraulicBoundaryOutput(); - var parent = new CalculationGroup(); + var random = new Random(21); StabilityStoneCoverWaveConditionsCalculation calculation = validCalculation ? GetValidCalculation(assessmentSection.HydraulicBoundaryDatabase.Locations.First()) : new StabilityStoneCoverWaveConditionsCalculation { - Name = "A" + Name = "A", + InputParameters = + { + CategoryType = random.NextEnumValue() + } }; + var parent = new CalculationGroup(); var context = new StabilityStoneCoverWaveConditionsCalculationContext(calculation, parent, failureMechanism, @@ -1524,20 +1529,7 @@ assessmentSection.HydraulicBoundaryDatabase.PreprocessorDirectory = "InvalidPreprocessorDirectory"; var parent = new CalculationGroup(); - var calculation = new StabilityStoneCoverWaveConditionsCalculation - { - Name = "A", - InputParameters = - { - HydraulicBoundaryLocation = assessmentSection.HydraulicBoundaryDatabase.Locations.First(), - LowerBoundaryRevetment = (RoundedDouble) 1.0, - UpperBoundaryRevetment = (RoundedDouble) 10.0, - StepSize = WaveConditionsInputStepSize.One, - LowerBoundaryWaterLevels = (RoundedDouble) 1.0, - UpperBoundaryWaterLevels = (RoundedDouble) 10.0, - Orientation = (RoundedDouble) 0 - } - }; + StabilityStoneCoverWaveConditionsCalculation calculation = GetValidCalculation(assessmentSection.HydraulicBoundaryDatabase.Locations.First()); var context = new StabilityStoneCoverWaveConditionsCalculationContext(calculation, parent,