summaryrefslogtreecommitdiffstats
path: root/document/src/test
diff options
context:
space:
mode:
authorfreva <valerijf@yahoo-inc.com>2017-03-06 11:16:32 +0100
committerfreva <valerijf@yahoo-inc.com>2017-03-06 11:16:32 +0100
commit8bea934fd83ebe1ac8e61e03ebcf7d68c008a49d (patch)
tree500fe4348817eee8d982d7537c76d1c1f8bd4e85 /document/src/test
parent0b50fa9bb2036bb7dadf2f959a0788d693fd950d (diff)
Expect fieldpath remove value to be 0 to match the existing field format
Diffstat (limited to 'document/src/test')
-rw-r--r--document/src/test/java/com/yahoo/document/json/DocumentUpdateJsonSerializerTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/document/src/test/java/com/yahoo/document/json/DocumentUpdateJsonSerializerTest.java b/document/src/test/java/com/yahoo/document/json/DocumentUpdateJsonSerializerTest.java
index a2b92ec4887..2ee2adcba83 100644
--- a/document/src/test/java/com/yahoo/document/json/DocumentUpdateJsonSerializerTest.java
+++ b/document/src/test/java/com/yahoo/document/json/DocumentUpdateJsonSerializerTest.java
@@ -392,7 +392,7 @@ public class DocumentUpdateJsonSerializerTest {
" 'update': 'DOCUMENT_ID',",
" 'fields': {",
" 'int_array[5]': {",
- " 'remove': {}",
+ " 'remove': 0",
" }",
" }",
"}"
@@ -440,7 +440,7 @@ public class DocumentUpdateJsonSerializerTest {
" 'assign': {",
" 'my_string_field': 'Some string'",
" },",
- " 'remove': {}",
+ " 'remove': 0",
" }",
" }",
"}"