Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/ReferenceLineMetaSelectionDialogTest.cs =================================================================== diff -u -r802ea30d1fe8fbae93e58dff9ab054dbabca11ae -r22314fc5cda60354caef8993c7da004d784e46c4 --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/ReferenceLineMetaSelectionDialogTest.cs (.../ReferenceLineMetaSelectionDialogTest.cs) (revision 802ea30d1fe8fbae93e58dff9ab054dbabca11ae) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/ReferenceLineMetaSelectionDialogTest.cs (.../ReferenceLineMetaSelectionDialogTest.cs) (revision 22314fc5cda60354caef8993c7da004d784e46c4) @@ -160,7 +160,7 @@ public void Constructor_WithParentAndReferenceLineMetas_ShowsExpectedGrid( [Values("", "10")] string assessmentSectionId, [Values(null, int.MinValue, -1, 0, 1, int.MaxValue)] int? signalingValue, - [Values(null, int.MinValue, -1, 0, 1, int.MaxValue)] int? lowerLimitValue) + [Values(int.MinValue, -1, 0, 1, int.MaxValue)] int lowerLimitValue) { // Setup var referenceLineMetas = new[] @@ -196,8 +196,8 @@ object currentLowerLimitValue = dataGridView[lowerLimitValueColumn, 0].FormattedValue; Assert.IsNotNull(currentLowerLimitValue); - string expectedLowerLimitValue = lowerLimitValue.HasValue && lowerLimitValue.Value > 0 - ? ProbabilityFormattingHelper.FormatFromReturnPeriod(lowerLimitValue.Value) + string expectedLowerLimitValue = lowerLimitValue > 0 + ? ProbabilityFormattingHelper.FormatFromReturnPeriod(lowerLimitValue) : string.Empty; Assert.AreEqual(expectedLowerLimitValue, currentLowerLimitValue.ToString()); }