Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/MacroStabilityInwards/MacroStabilityInwardsStochasticSoilModelCreateExtensionsTest.cs =================================================================== diff -u -r342550ddfacbc6b0253b9b452da4aa68c3fac73f -rda4a311b2ac60defe1a27a61c8d151f47268a941 --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/MacroStabilityInwards/MacroStabilityInwardsStochasticSoilModelCreateExtensionsTest.cs (.../MacroStabilityInwardsStochasticSoilModelCreateExtensionsTest.cs) (revision 342550ddfacbc6b0253b9b452da4aa68c3fac73f) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/MacroStabilityInwards/MacroStabilityInwardsStochasticSoilModelCreateExtensionsTest.cs (.../MacroStabilityInwardsStochasticSoilModelCreateExtensionsTest.cs) (revision da4a311b2ac60defe1a27a61c8d151f47268a941) @@ -127,12 +127,12 @@ { // Setup var random = new Random(31); - var stochasticSoilModel = new MacroStabilityInwardsStochasticSoilModel("testName"); - stochasticSoilModel.Geometry.AddRange(new[] + var stochasticSoilModel = new MacroStabilityInwardsStochasticSoilModel("testName", new[] { new Point2D(random.NextDouble(), random.NextDouble()), new Point2D(random.NextDouble(), random.NextDouble()) }); + var registry = new PersistenceRegistry(); // Call