Index: Riskeer/Common/test/Riskeer.Common.IO.Test/Structures/StructuresParameterRowsValidatorTest.cs =================================================================== diff -u -rd295787bdf73c39c7343092c87ceb792b2c2caef -rceb6e487d80d44dd4fd3c5c8b98b446b80a669a5 --- Riskeer/Common/test/Riskeer.Common.IO.Test/Structures/StructuresParameterRowsValidatorTest.cs (.../StructuresParameterRowsValidatorTest.cs) (revision d295787bdf73c39c7343092c87ceb792b2c2caef) +++ Riskeer/Common/test/Riskeer.Common.IO.Test/Structures/StructuresParameterRowsValidatorTest.cs (.../StructuresParameterRowsValidatorTest.cs) (revision ceb6e487d80d44dd4fd3c5c8b98b446b80a669a5) @@ -1863,10 +1863,7 @@ private static IEnumerable ClosingStructureParameters() { - foreach (StructuresParameterRow parameterRow in GetAllValidClosingStructuresParameterRows()) - { - yield return new TestCaseData(parameterRow).SetName(parameterRow.ParameterId); - } + return GetAllValidClosingStructuresParameterRows().Select(parameterRow => new TestCaseData(parameterRow)); } #endregion @@ -2048,10 +2045,7 @@ private static IEnumerable StabilityPointStructureParameters() { - foreach (StructuresParameterRow parameterRow in GetAllValidStabilityPointStructuresParameterRows()) - { - yield return new TestCaseData(parameterRow).SetName(parameterRow.ParameterId); - } + return GetAllValidStabilityPointStructuresParameterRows().Select(parameterRow => new TestCaseData(parameterRow)); } #endregion