Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/AssessmentSectionViewTest.cs =================================================================== diff -u -rb519fc798c63691f04bb8008b562a94ed9232d51 -r7a4f8ff71ae5f81177fe5ff9cd78fdc7f24c69f4 --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/AssessmentSectionViewTest.cs (.../AssessmentSectionViewTest.cs) (revision b519fc798c63691f04bb8008b562a94ed9232d51) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/AssessmentSectionViewTest.cs (.../AssessmentSectionViewTest.cs) (revision 7a4f8ff71ae5f81177fe5ff9cd78fdc7f24c69f4) @@ -113,7 +113,7 @@ view.Data = assessmentSection; // Assert - WmtsMapData expectedWmtsBackgroundMapData = RingtoetsBackgroundMapDataFactory.CreateBackgroundMapData(assessmentSection.BackgroundMapData2); + WmtsMapData expectedWmtsBackgroundMapData = RingtoetsBackgroundMapDataFactory.CreateBackgroundMapData(assessmentSection.BackgroundData); MapDataTestHelper.AssertWmtsMapData(expectedWmtsBackgroundMapData, view.Map.BackgroundMapData); } } @@ -155,7 +155,7 @@ Assert.AreSame(assessmentSection, view.Data); AssertEmptyMapData(view.Map.Data); WmtsMapData expectedWmtsBackgroundMapData = RingtoetsBackgroundMapDataFactory.CreateBackgroundMapData( - assessmentSection.BackgroundMapData2); + assessmentSection.BackgroundData); MapDataTestHelper.AssertWmtsMapData(expectedWmtsBackgroundMapData, view.Map.BackgroundMapData); } } @@ -269,19 +269,19 @@ { view.Data = assessmentSection; - BackgroundMapData backgroundMapData = assessmentSection.BackgroundMapData2; + BackgroundData backgroundData = assessmentSection.BackgroundData; - backgroundMapData.Name = "some Name"; - backgroundMapData.Parameters["SourceCapabilitiesUrl"] = "some URL"; - backgroundMapData.Parameters["SelectedCapabilityIdentifier"] = "some Identifier"; - backgroundMapData.Parameters["PreferredFormat"] = "image/some Format"; - backgroundMapData.IsConfigured = true; + backgroundData.Name = "some Name"; + backgroundData.Parameters["SourceCapabilitiesUrl"] = "some URL"; + backgroundData.Parameters["SelectedCapabilityIdentifier"] = "some Identifier"; + backgroundData.Parameters["PreferredFormat"] = "image/some Format"; + backgroundData.IsConfigured = true; // When - backgroundMapData.NotifyObservers(); + backgroundData.NotifyObservers(); // Then - WmtsMapData expectedWmtsBackgroundMapData = RingtoetsBackgroundMapDataFactory.CreateBackgroundMapData(backgroundMapData); + WmtsMapData expectedWmtsBackgroundMapData = RingtoetsBackgroundMapDataFactory.CreateBackgroundMapData(backgroundData); MapDataTestHelper.AssertWmtsMapData(expectedWmtsBackgroundMapData, view.Map.BackgroundMapData); } }