Index: Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Plugin.Test/TreeNodeInfos/WaveImpactAsphaltCoverWaveConditionsCalculationContextTreeNodeInfoTest.cs =================================================================== diff -u -r413127864a46a671ee8361e152d97d9b04daedca -rfd6040f4814eeb7d853f0dca5cd9b281028a0147 --- Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Plugin.Test/TreeNodeInfos/WaveImpactAsphaltCoverWaveConditionsCalculationContextTreeNodeInfoTest.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationContextTreeNodeInfoTest.cs) (revision 413127864a46a671ee8361e152d97d9b04daedca) +++ Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Plugin.Test/TreeNodeInfos/WaveImpactAsphaltCoverWaveConditionsCalculationContextTreeNodeInfoTest.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationContextTreeNodeInfoTest.cs) (revision fd6040f4814eeb7d853f0dca5cd9b281028a0147) @@ -994,14 +994,19 @@ IAssessmentSection assessmentSection = CreateAssessmentSectionWithHydraulicBoundaryOutput(); - var parent = new CalculationGroup(); + var random = new Random(21); WaveImpactAsphaltCoverWaveConditionsCalculation calculation = validCalculation ? GetValidCalculation(assessmentSection.HydraulicBoundaryDatabase.Locations.First()) : new WaveImpactAsphaltCoverWaveConditionsCalculation { - Name = "A" + Name = "A", + InputParameters = + { + CategoryType = random.NextEnumValue() + } }; + var parent = new CalculationGroup(); var context = new WaveImpactAsphaltCoverWaveConditionsCalculationContext(calculation, parent, failureMechanism, @@ -1252,21 +1257,7 @@ assessmentSection.HydraulicBoundaryDatabase.PreprocessorDirectory = "InvalidPreprocessorDirectory"; var parent = new CalculationGroup(); - var calculation = new WaveImpactAsphaltCoverWaveConditionsCalculation - { - 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 - } - }; - + WaveImpactAsphaltCoverWaveConditionsCalculation calculation = GetValidCalculation(assessmentSection.HydraulicBoundaryDatabase.Locations.First()); var context = new WaveImpactAsphaltCoverWaveConditionsCalculationContext(calculation, parent, failureMechanism,