Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Commands/AssessmentSectionFromFileCommandHandler.cs =================================================================== diff -u -r9ccccb49274ddad9696632ec89efda0ce2e34afc -r9a19225babe7672475fb465952d554c756bf2484 --- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Commands/AssessmentSectionFromFileCommandHandler.cs (.../AssessmentSectionFromFileCommandHandler.cs) (revision 9ccccb49274ddad9696632ec89efda0ce2e34afc) +++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Commands/AssessmentSectionFromFileCommandHandler.cs (.../AssessmentSectionFromFileCommandHandler.cs) (revision 9a19225babe7672475fb465952d554c756bf2484) @@ -154,9 +154,11 @@ return assessmentSection; } - private static AssessmentSection CreateDuneAssessmentSection() + private static AssessmentSection CreateDuneAssessmentSection(int n) { - return new AssessmentSection(AssessmentSectionComposition.Dune); + var duneAssessmentSection = new AssessmentSection(AssessmentSectionComposition.Dune); + SetFailureMechanismsValueN(duneAssessmentSection, n); + return duneAssessmentSection; } private AssessmentSection CreateAssessmentSection(ReferenceLineMeta selectedItem, int? norm) @@ -171,7 +173,7 @@ else { assessmentSection = settingOfSelectedAssessmentSection.IsDune ? - CreateDuneAssessmentSection() : + CreateDuneAssessmentSection(settingOfSelectedAssessmentSection.N) : CreateDikeAssessmentSection(settingOfSelectedAssessmentSection.N); } Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Commands/AssessmentSectionFromFileCommandHandlerTest.cs =================================================================== diff -u -r9ccccb49274ddad9696632ec89efda0ce2e34afc -r9a19225babe7672475fb465952d554c756bf2484 --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Commands/AssessmentSectionFromFileCommandHandlerTest.cs (.../AssessmentSectionFromFileCommandHandlerTest.cs) (revision 9ccccb49274ddad9696632ec89efda0ce2e34afc) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Commands/AssessmentSectionFromFileCommandHandlerTest.cs (.../AssessmentSectionFromFileCommandHandlerTest.cs) (revision 9a19225babe7672475fb465952d554c756bf2484) @@ -558,6 +558,8 @@ new Point2D(155556.9191, 464341.1281), new Point2D(155521.4761, 464360.7401) }); + assessmentSection.GrassCoverErosionInwards.GeneralInput.N = 3; + assessmentSection.HeightStructures.GeneralInput.N = 3; return assessmentSection; }