File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/commonTest/kotlin/suite Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import com.algolia.search.model.search.TypoTolerance
88import com.algolia.search.model.settings.Distinct
99import com.algolia.search.model.settings.Settings
1010import com.algolia.search.model.task.TaskStatus
11+ import kotlinx.serialization.json.json
1112import runBlocking
1213import shouldEqual
1314import kotlin.test.AfterTest
@@ -40,7 +41,8 @@ internal class TestSuiteSettings {
4041 typoTolerance = TypoTolerance .Min ,
4142 ignorePlurals = IgnorePlurals .QueryLanguages (Language .English , Language .French ),
4243 removeStopWords = RemoveStopWords .QueryLanguages (Language .English , Language .French ),
43- distinct = Distinct (1 )
44+ distinct = Distinct (1 ),
45+ userData = json { " customUserData" to 42.0 }
4446 )
4547 setSettings(copy).wait() shouldEqual TaskStatus .Published
4648 getSettings() shouldEqual copy
You can’t perform that action at this time.
0 commit comments