Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/StructuresOutputCreateExtensionsTest.cs =================================================================== diff -u -r3b741a615556cb874f09820d4cc28ceebe40538c -r339e1d134a2208f180b9f369d275cb98f9736a7c --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/StructuresOutputCreateExtensionsTest.cs (.../StructuresOutputCreateExtensionsTest.cs) (revision 3b741a615556cb874f09820d4cc28ceebe40538c) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/StructuresOutputCreateExtensionsTest.cs (.../StructuresOutputCreateExtensionsTest.cs) (revision 339e1d134a2208f180b9f369d275cb98f9736a7c) @@ -24,9 +24,7 @@ using Application.Ringtoets.Storage.DbContext; using Application.Ringtoets.Storage.TestUtil.IllustrationPoints; using NUnit.Framework; -using Ringtoets.Common.Data.Probability; using Ringtoets.Common.Data.Structures; -using Ringtoets.Common.Data.TestUtil; using Ringtoets.Common.Data.TestUtil.IllustrationPoints; namespace Application.Ringtoets.Storage.Test.Create @@ -51,13 +49,7 @@ // Setup var random = new Random(567); var output = new StructuresOutput( - random.NextDouble(), - new ProbabilityAssessmentOutput( - random.NextDouble(), - random.NextDouble(), - random.NextDouble(), - random.NextDouble(), - random.NextDouble()), null); + random.NextDouble(), null); // Call var entity = output.Create(); @@ -73,13 +65,7 @@ { // Setup var output = new StructuresOutput( - double.NaN, - new ProbabilityAssessmentOutput( - double.NaN, - double.NaN, - double.NaN, - double.NaN, - double.NaN), null); + double.NaN, null); // Call var entity = output.Create(); @@ -94,7 +80,9 @@ public void Create_CalculationWithOutputAndGeneralResult_ReturnEntityWithOutputAndGeneralResult() { // Setup - StructuresOutput output = new TestStructuresOutput(new TestGeneralResultFaultTreeIllustrationPoint()); + var random = new Random(567); + var output = new StructuresOutput(random.NextDouble(), + new TestGeneralResultFaultTreeIllustrationPoint()); // Call var entity = output.Create();