Skip to content

Commit 8b4d51b

Browse files
committed
fix: cts
1 parent bc0ae53 commit 8b4d51b

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed

tests/CTS/requests/search/setSettings.json

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,44 @@
190190
}
191191
}
192192
},
193+
{
194+
"testName": "distinct company",
195+
"isSnippet": true,
196+
"parameters": {
197+
"indexName": "theIndexName",
198+
"indexSettings": {
199+
"attributeForDistinct": "company",
200+
"distinct": true
201+
}
202+
},
203+
"request": {
204+
"path": "/1/indexes/theIndexName/settings",
205+
"method": "PUT",
206+
"body": {
207+
"attributeForDistinct": "company",
208+
"distinct": true
209+
}
210+
}
211+
},
212+
{
213+
"testName": "distinct design",
214+
"isSnippet": true,
215+
"parameters": {
216+
"indexName": "theIndexName",
217+
"indexSettings": {
218+
"attributeForDistinct": "design",
219+
"distinct": true
220+
}
221+
},
222+
"request": {
223+
"path": "/1/indexes/theIndexName/settings",
224+
"method": "PUT",
225+
"body": {
226+
"attributeForDistinct": "design",
227+
"distinct": true
228+
}
229+
}
230+
},
193231
{
194232
"testName": "distinct true",
195233
"isSnippet": true,
@@ -207,6 +245,25 @@
207245
}
208246
}
209247
},
248+
{
249+
"testName": "distinct section",
250+
"isSnippet": true,
251+
"parameters": {
252+
"indexName": "theIndexName",
253+
"indexSettings": {
254+
"attributeForDistinct": "section",
255+
"distinct": true
256+
}
257+
},
258+
"request": {
259+
"path": "/1/indexes/theIndexName/settings",
260+
"method": "PUT",
261+
"body": {
262+
"attributeForDistinct": "section",
263+
"distinct": true
264+
}
265+
}
266+
},
210267
{
211268
"testName": "attributesForFaceting allergens",
212269
"isSnippet": true,

0 commit comments

Comments
 (0)