@@ -129,14 +129,15 @@ public async Task TestSettings()
129129 { "de" , new List < string > { "attribute1" , "attribute2" } } ,
130130 { "fi" , new List < string > { "attribute3" } }
131131 } ,
132- KeepDiacriticsOnCharacters = "øé"
132+ KeepDiacriticsOnCharacters = "øé" ,
133+ UserData = "User data"
133134 } ;
134135
135136 var saveSettingsResponse = await _index . SetSettingsAsync ( settings ) ;
136137 saveSettingsResponse . Wait ( ) ;
137138
138139 var getSettingsResponse = await _index . GetSettingsAsync ( ) ;
139- var spceficPropertiesCheck = new List < string > { "AlternativesAsExact" , "DecompoundedAttributes" , "CustomSettings" } ;
140+ var spceficPropertiesCheck = new List < string > { "AlternativesAsExact" , "DecompoundedAttributes" , "CustomSettings" , "UserData" } ;
140141 Assert . True ( TestHelper . AreObjectsEqual ( settings , getSettingsResponse , spceficPropertiesCheck . ToArray ( ) ) ) ;
141142
142143 // Check specific properties (couldn't be done by the helper)
@@ -145,6 +146,7 @@ public async Task TestSettings()
145146 Assert . True ( getSettingsResponse . DecompoundedAttributes [ "de" ] . Contains ( "attribute2" ) ) ;
146147 Assert . True ( getSettingsResponse . DecompoundedAttributes . ContainsKey ( "fi" ) ) ;
147148 Assert . True ( getSettingsResponse . DecompoundedAttributes [ "fi" ] . Contains ( "attribute3" ) ) ;
149+ Assert . AreEqual ( getSettingsResponse . UserData . ToString ( ) , settings . UserData . ToString ( ) ) ;
148150
149151 // Set new values
150152 settings . TypoTolerance = "min" ;
0 commit comments