Skip to content

Commit 98596f1

Browse files
committed
fix: partialUpdateObject
1 parent da4ebd9 commit 98596f1

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

tests/CTS/requests/search/partialUpdateObject.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,7 @@
110110
"path": "/1/indexes/theIndexName/uniqueID/partial",
111111
"method": "POST",
112112
"body": {
113-
"attributesToUpdate": {
114-
"visible_by": ["Angela", "group/Finance", "group/Shareholders" ]
115-
}
113+
"visible_by": ["Angela", "group/Finance", "group/Shareholders" ]
116114
}
117115
}
118116
}

tests/CTS/requests/search/saveRule.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@
396396
"path": "/1/indexes/indexName/rules/redirect-help-rule",
397397
"method": "PUT",
398398
"body": {
399-
"objectID": "clearance-category-filter",
399+
"objectID": "redirect-help-rule",
400400
"conditions": [
401401
{
402402
"pattern": "help",
@@ -627,7 +627,7 @@
627627
"objectID": "tagged-brand-rule",
628628
"rule": {
629629
"conditions": [{
630-
"pattern": "brand\\\\: {facet:brand}",
630+
"pattern": "brand: {facet:brand}",
631631
"anchoring": "contains",
632632
"alternatives": false
633633
}],
@@ -637,7 +637,7 @@
637637
"facet":"brand"
638638
}],
639639
"query": {
640-
"remove": ["brand\\\\:", "{facet:brand}"]
640+
"remove": ["brand:", "{facet:brand}"]
641641
}
642642
}
643643
},
@@ -650,7 +650,7 @@
650650
"method": "PUT",
651651
"body": {
652652
"conditions": [{
653-
"pattern": "brand\\\\: {facet:brand}",
653+
"pattern": "brand: {facet:brand}",
654654
"anchoring": "contains",
655655
"alternatives": false
656656
}],
@@ -660,7 +660,7 @@
660660
"facet":"brand"
661661
}],
662662
"query": {
663-
"remove": ["brand\\\\:", "{facet:brand}"]
663+
"remove": ["brand:", "{facet:brand}"]
664664
}
665665
}
666666
},

tests/CTS/requests/search/setSettings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -814,14 +814,14 @@
814814
"parameters": {
815815
"indexName": "theIndexName",
816816
"indexSettings": {
817-
"replicas": [ ]
817+
"replicas": [""]
818818
}
819819
},
820820
"request": {
821821
"path": "/1/indexes/theIndexName/settings",
822822
"method": "PUT",
823823
"body": {
824-
"replicas": [ ]
824+
"replicas": [""]
825825
}
826826
}
827827
},

0 commit comments

Comments
 (0)