Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/Views/HeightStructuresFailureMechanismViewTest.cs =================================================================== diff -u -r20e9bfea15dfe132ee137283a9f24bc4c413ce4a -r6678115bc8c06dcc0b676429038e1839b128d6f2 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/Views/HeightStructuresFailureMechanismViewTest.cs (.../HeightStructuresFailureMechanismViewTest.cs) (revision 20e9bfea15dfe132ee137283a9f24bc4c413ce4a) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/Views/HeightStructuresFailureMechanismViewTest.cs (.../HeightStructuresFailureMechanismViewTest.cs) (revision 6678115bc8c06dcc0b676429038e1839b128d6f2) @@ -252,16 +252,16 @@ failureMechanism.AddSection(new FailureMechanismSection("B", geometryPoints.Skip(1).Take(2))); failureMechanism.AddSection(new FailureMechanismSection("C", geometryPoints.Skip(2).Take(2))); - var profile1 = new TestForeshoreProfile(new[] + var profile1 = new TestForeshoreProfile("profile1 ID", new[] { new Point2D(0, 0), new Point2D(1, 1) - }, "profile1 ID"); - var profile2 = new TestForeshoreProfile(new[] + }); + var profile2 = new TestForeshoreProfile("profile2 ID", new[] { new Point2D(2, 2), new Point2D(3, 3) - }, "profile2 ID"); + }); failureMechanism.ForeshoreProfiles.AddRange(new[] { profile1, @@ -531,11 +531,11 @@ failureMechanism.ForeshoreProfiles.AddRange(new[] { - new TestForeshoreProfile(new[] + new TestForeshoreProfile("originalProfile ID", new[] { new Point2D(0, 0), new Point2D(1, 1) - }, "originalProfile ID") + }) }, "path"); view.Data = failureMechanismContext; @@ -549,11 +549,11 @@ // Call failureMechanism.ForeshoreProfiles.AddRange(new[] { - new TestForeshoreProfile(new[] + new TestForeshoreProfile("newProfile ID", new[] { new Point2D(2, 2), new Point2D(3, 3) - }, "newProfile ID") + }) }, "path"); failureMechanism.ForeshoreProfiles.NotifyObservers();