File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1871,7 +1871,7 @@ test_update_endpoint_empty() {
18711871 local full_object=" $test_obj "
18721872
18731873 for i in $( seq 1 $NUM_ITERATIONS ) ; do
1874- local update_body=$( echo " $full_object " | jq " . + { value: \" updated_$i \" } " 2> /dev/null)
1874+ local update_body=$( echo " $full_object " | jq " .value = \" updated_$i \" " 2> /dev/null)
18751875
18761876 local result=$( measure_endpoint " ${API_BASE} /api/update" " PUT" \
18771877 " $update_body " \
@@ -1934,7 +1934,7 @@ test_update_endpoint_full() {
19341934 local full_object=" $test_obj "
19351935
19361936 for i in $( seq 1 $NUM_ITERATIONS ) ; do
1937- local update_body=$( echo " $full_object " | jq " . + { value: \" updated_full_$i \" } " 2> /dev/null)
1937+ local update_body=$( echo " $full_object " | jq " .value = \" updated_full_$i \" " 2> /dev/null)
19381938
19391939 local result=$( measure_endpoint " ${API_BASE} /api/update" " PUT" \
19401940 " $update_body " \
Original file line number Diff line number Diff line change @@ -1888,7 +1888,7 @@ test_update_endpoint_empty() {
18881888 local full_object=" $test_obj "
18891889
18901890 for i in $( seq 1 $NUM_ITERATIONS ) ; do
1891- local update_body=$( echo " $full_object " | jq " . + { value: \" updated_$i \" } " 2> /dev/null)
1891+ local update_body=$( echo " $full_object " | jq " .value = \" updated_$i \" " 2> /dev/null)
18921892
18931893 local result=$( measure_endpoint " ${API_BASE} /api/update" " PUT" \
18941894 " $update_body " \
@@ -1951,7 +1951,7 @@ test_update_endpoint_full() {
19511951 local full_object=" $test_obj "
19521952
19531953 for i in $( seq 1 $NUM_ITERATIONS ) ; do
1954- local update_body=$( echo " $full_object " | jq " . + { value: \" updated_full_$i \" } " 2> /dev/null)
1954+ local update_body=$( echo " $full_object " | jq " .value = \" updated_full_$i \" " 2> /dev/null)
19551955
19561956 local result=$( measure_endpoint " ${API_BASE} /api/update" " PUT" \
19571957 " $update_body " \
You can’t perform that action at this time.
0 commit comments