Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/Builders/SoilProfileBuilder1DTest.cs =================================================================== diff -u -r81fa8a9bf3bd503cbd280e88b8f6037a840cff12 -rad0f4a7a0f8b9f065da77eda1a450ac3696b8f7f --- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/Builders/SoilProfileBuilder1DTest.cs (.../SoilProfileBuilder1DTest.cs) (revision 81fa8a9bf3bd503cbd280e88b8f6037a840cff12) +++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/Builders/SoilProfileBuilder1DTest.cs (.../SoilProfileBuilder1DTest.cs) (revision ad0f4a7a0f8b9f065da77eda1a450ac3696b8f7f) @@ -36,7 +36,7 @@ { // Setup const string profileName = "SomeProfile"; - var builder = new SoilProfileBuilder1D(profileName, 0.0, 0); + var builder = new SoilProfileBuilder1D(profileName, 0.0); // Call TestDelegate test = () => builder.Build(); @@ -53,8 +53,7 @@ var random = new Random(22); double bottom = random.NextDouble(); double top = random.NextDouble(); - const long pipingSoilProfileId = 1234L; - var builder = new SoilProfileBuilder1D(profileName, bottom, pipingSoilProfileId); + var builder = new SoilProfileBuilder1D(profileName, bottom); builder.Add(new PipingSoilLayer(top) { IsAquifer = true @@ -67,7 +66,6 @@ Assert.AreEqual(profileName, soilProfile.Name); Assert.AreEqual(1, soilProfile.Layers.Count()); Assert.AreEqual(SoilProfileType.SoilProfile1D, soilProfile.SoilProfileType); - Assert.AreEqual(pipingSoilProfileId, soilProfile.PipingSoilProfileId); Assert.AreEqual(top, soilProfile.Layers.ToArray()[0].Top); Assert.AreEqual(bottom, soilProfile.Bottom); } @@ -81,9 +79,8 @@ double bottom = random.NextDouble(); double top = bottom + random.NextDouble(); double top2 = bottom + random.NextDouble(); - const long pipingSoilProfileId = 1234L; - var builder = new SoilProfileBuilder1D(profileName, bottom, pipingSoilProfileId); + var builder = new SoilProfileBuilder1D(profileName, bottom); builder.Add(new PipingSoilLayer(top) { IsAquifer = true @@ -102,7 +99,6 @@ top2 }, soilProfile.Layers.Select(l => l.Top)); Assert.AreEqual(bottom, soilProfile.Bottom); - Assert.AreEqual(pipingSoilProfileId, soilProfile.PipingSoilProfileId); } } } \ No newline at end of file