Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/RingtoetsBackgroundMapDataFactoryTest.cs =================================================================== diff -u -r3629ac885ef54cf9bb8e7f4be48a50e45b0c8eae -rf9db544ad22552799aaaedc2a154abd8765f7099 --- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/RingtoetsBackgroundMapDataFactoryTest.cs (.../RingtoetsBackgroundMapDataFactoryTest.cs) (revision 3629ac885ef54cf9bb8e7f4be48a50e45b0c8eae) +++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/RingtoetsBackgroundMapDataFactoryTest.cs (.../RingtoetsBackgroundMapDataFactoryTest.cs) (revision f9db544ad22552799aaaedc2a154abd8765f7099) @@ -155,13 +155,13 @@ WmtsMapData wmtsMapData = WmtsMapData.CreateDefaultPdokMapData(); BackgroundData backgroundData = BackgroundDataTestDataGenerator.GetWmtsBackgroundMapData(wmtsMapData); - string originalSourceCapabilitiesUrl = backgroundData.Parameters["SourceCapabilitiesUrl"]; - string originalSelectedCapabilityIdentifier = backgroundData.Parameters["SelectedCapabilityIdentifier"]; - string originalPreferredFormat = backgroundData.Parameters["PreferredFormat"]; + string originalSourceCapabilitiesUrl = backgroundData.Parameters[BackgroundDataIdentifiers.SourceCapabilitiesUrl]; + string originalSelectedCapabilityIdentifier = backgroundData.Parameters[BackgroundDataIdentifiers.SelectedCapabilityIdentifier]; + string originalPreferredFormat = backgroundData.Parameters[BackgroundDataIdentifiers.PreferredFormat]; - backgroundData.Parameters["SourceCapabilitiesUrl"] = "some/url"; - backgroundData.Parameters["SelectedCapabilityIdentifier"] = "identifier"; - backgroundData.Parameters["PreferredFormat"] = "image/format"; + backgroundData.Parameters[BackgroundDataIdentifiers.SourceCapabilitiesUrl] = "some/url"; + backgroundData.Parameters[BackgroundDataIdentifiers.SelectedCapabilityIdentifier] = "identifier"; + backgroundData.Parameters[BackgroundDataIdentifiers.PreferredFormat] = "image/format"; // Call RingtoetsBackgroundMapDataFactory.UpdateBackgroundMapData(wmtsMapData, backgroundData);