Index: Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Data.TestUtil/ClosingStructurePermutationHelper.cs =================================================================== diff -u -rc5390b303f47e65a1a8e0ba271017c77dae24bbc -r36d31be7cd357f771712dce5d134e0aba478042a --- Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Data.TestUtil/ClosingStructurePermutationHelper.cs (.../ClosingStructurePermutationHelper.cs) (revision c5390b303f47e65a1a8e0ba271017c77dae24bbc) +++ Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Data.TestUtil/ClosingStructurePermutationHelper.cs (.../ClosingStructurePermutationHelper.cs) (revision 36d31be7cd357f771712dce5d134e0aba478042a) @@ -170,31 +170,31 @@ ClosingStructure.ConstructionProperties differentFailureProbabilityOpenStructureConstructionProperties = CreateTestClosingStructureConstructionProperties(); differentFailureProbabilityOpenStructureConstructionProperties.FailureProbabilityOpenStructure = random.NextDouble(); - yield return new TestCaseData(new ClosingStructure(CreateTestClosingStructureConstructionProperties())) + yield return new TestCaseData(new ClosingStructure(differentFailureProbabilityOpenStructureConstructionProperties)) .SetName($"{targetName}_DifferentFailureProbabilityOpenStructure_{testResultDescription}"); ClosingStructure.ConstructionProperties differentIdenticalAperturesProperties = CreateTestClosingStructureConstructionProperties(); differentIdenticalAperturesProperties.IdenticalApertures = random.Next(); - yield return new TestCaseData(new ClosingStructure(CreateTestClosingStructureConstructionProperties())) + yield return new TestCaseData(new ClosingStructure(differentIdenticalAperturesProperties)) .SetName($"{targetName}_DifferentIdenticalApertures_{testResultDescription}"); ClosingStructure.ConstructionProperties differentInflowModelTypeConstructionProperties = CreateTestClosingStructureConstructionProperties(); differentInflowModelTypeConstructionProperties.InflowModelType = random.NextEnumValue(); - yield return new TestCaseData(new ClosingStructure(CreateTestClosingStructureConstructionProperties())) + yield return new TestCaseData(new ClosingStructure(differentInflowModelTypeConstructionProperties)) .SetName($"{targetName}_DifferentInflowModelType_{testResultDescription}"); ClosingStructure.ConstructionProperties differentProbabilityOrFrequencyOpenStructureBeforeFloodingConstructionProperties = CreateTestClosingStructureConstructionProperties(); differentProbabilityOrFrequencyOpenStructureBeforeFloodingConstructionProperties.ProbabilityOrFrequencyOpenStructureBeforeFlooding = random.NextDouble(); - yield return new TestCaseData(new ClosingStructure(CreateTestClosingStructureConstructionProperties())) + yield return new TestCaseData(new ClosingStructure(differentProbabilityOrFrequencyOpenStructureBeforeFloodingConstructionProperties)) .SetName($"{targetName}_DifferentProbabilityOrFrequencyOpenStructureBeforeFlooding_{testResultDescription}"); ClosingStructure.ConstructionProperties differentStructureNormalOrientationConstructionProperties = CreateTestClosingStructureConstructionProperties(); differentStructureNormalOrientationConstructionProperties.StructureNormalOrientation = random.NextRoundedDouble(); - yield return new TestCaseData(new ClosingStructure(CreateTestClosingStructureConstructionProperties())) + yield return new TestCaseData(new ClosingStructure(differentStructureNormalOrientationConstructionProperties)) .SetName($"{targetName}_DifferentStructureNormalOrientation_{testResultDescription}"); }