Index: src/Deltares.DSoilModel.Forms.Tests/SpecificMechanismPointLocationControlTests.cs =================================================================== diff -u -r373 -r380 --- src/Deltares.DSoilModel.Forms.Tests/SpecificMechanismPointLocationControlTests.cs (.../SpecificMechanismPointLocationControlTests.cs) (revision 373) +++ src/Deltares.DSoilModel.Forms.Tests/SpecificMechanismPointLocationControlTests.cs (.../SpecificMechanismPointLocationControlTests.cs) (revision 380) @@ -17,10 +17,11 @@ [Test] public void ControlBindingsTest() { + MechanismSupport.Mechanisms = new Mechanism[] {Mechanism.None, Mechanism.Piping, Mechanism.Stability }; var m = new SpecificMechanismPointLocation { XCoordinate = 1.1, - Mechanism = Mechanism.AsphaltRevetment, + Mechanism = Mechanism.None, SoilProfile2D = new SoilProfile2D { Name = "Profile2D_to_test" } }; @@ -29,7 +30,7 @@ TestLabelControlVisibleValue(PropertyControl, "XcoordinateLabel", true, "X coordinaat"); TestSpinEditVisibleEnabledValue(PropertyControl, "XcoordinateEdit", true, true, m, c => c.XCoordinate, 5.5); TestLabelControlVisibleValue(PropertyControl, "MechanismLabel", true, "Mechanisme"); - TestComboBoxVisibleEnabledValue(PropertyControl, "MechanismEdit", true, true, m, c => c.Mechanism, Mechanism.Dunes); + TestComboBoxVisibleEnabledValue(PropertyControl, "MechanismEdit", true, true, m, c => c.Mechanism, Mechanism.Piping); TestLabelControlVisibleValue(PropertyControl, "SoilProfileLabel", true, "Grondprofiel 2D"); TestTextEditVisibleEnabledValue(PropertyControl, "SoilProfileEdit", true, false, m, c => c.SoilProfile2D);