Index: Demo/Ringtoets/test/Demo.Ringtoets.Test/Commands/AddNewDemoAssessmentSectionCommandTest.cs =================================================================== diff -u -rd2d96421974b56eb204dd8f756748aa582da0874 -r154172b6706fadc1364f90533138d410a2115571 --- Demo/Ringtoets/test/Demo.Ringtoets.Test/Commands/AddNewDemoAssessmentSectionCommandTest.cs (.../AddNewDemoAssessmentSectionCommandTest.cs) (revision d2d96421974b56eb204dd8f756748aa582da0874) +++ Demo/Ringtoets/test/Demo.Ringtoets.Test/Commands/AddNewDemoAssessmentSectionCommandTest.cs (.../AddNewDemoAssessmentSectionCommandTest.cs) (revision 154172b6706fadc1364f90533138d410a2115571) @@ -29,12 +29,10 @@ using Core.Common.Controls.Commands; using Core.Common.Gui; using Core.Common.Gui.Commands; -using Core.Components.Gis.Data; using Demo.Ringtoets.Commands; using NUnit.Framework; using Rhino.Mocks; using Ringtoets.ClosingStructures.Data; -using Ringtoets.Common.Data.AssessmentSection; using Ringtoets.Common.Data.Calculation; using Ringtoets.Common.Data.Hydraulics; using Ringtoets.Common.Data.Probabilistics; @@ -103,18 +101,6 @@ Assert.AreEqual("Demo traject", demoAssessmentSection.Name); Assert.AreEqual("6-3", demoAssessmentSection.Id); - BackgroundData backgroundData = demoAssessmentSection.BackgroundData; - Assert.IsTrue(backgroundData.IsVisible); - Assert.AreEqual(0.0, backgroundData.Transparency.Value); - - WmtsMapData expectedWmtsMapData = WmtsMapData.CreateDefaultPdokMapData(); - Assert.AreEqual(expectedWmtsMapData.Name, backgroundData.Name); - Assert.AreEqual(BackgroundMapDataType.Wmts, backgroundData.BackgroundMapDataType); - Assert.AreEqual(3, backgroundData.Parameters.Count); - Assert.AreEqual(expectedWmtsMapData.SourceCapabilitiesUrl, backgroundData.Parameters[BackgroundDataIdentifiers.SourceCapabilitiesUrl]); - Assert.AreEqual(expectedWmtsMapData.SelectedCapabilityIdentifier, backgroundData.Parameters[BackgroundDataIdentifiers.SelectedCapabilityIdentifier]); - Assert.AreEqual(expectedWmtsMapData.PreferredFormat, backgroundData.Parameters[BackgroundDataIdentifiers.PreferredFormat]); - AssertHydraulicBoundaryDatabase(demoAssessmentSection); Assert.AreEqual(2380, demoAssessmentSection.ReferenceLine.Points.Count());