Skip to content

Commit e118bce

Browse files
committed
add test
1 parent b8712b4 commit e118bce

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

tests/CTS/requests/search/partialUpdateObject.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[
22
{
3+
"requestName": "Partial update with string value",
34
"parameters": {
45
"indexName": "theIndexName",
56
"objectID": "uniqueID",
@@ -26,5 +27,28 @@
2627
"createIfNotExists": "true"
2728
}
2829
}
30+
},
31+
{
32+
"requestName": "Partial update with integer value",
33+
"parameters": {
34+
"indexName": "theIndexName",
35+
"objectID": "uniqueID",
36+
"attributesToUpdate": {
37+
"attributeId": {
38+
"_operation": "Increment",
39+
"value": 2
40+
}
41+
}
42+
},
43+
"request": {
44+
"path": "/1/indexes/theIndexName/uniqueID/partial",
45+
"method": "POST",
46+
"body": {
47+
"attributeId": {
48+
"_operation": "Increment",
49+
"value": 2
50+
}
51+
}
52+
}
2953
}
3054
]

0 commit comments

Comments
 (0)