diff options
author | freva <valerijf@yahoo-inc.com> | 2017-03-06 11:16:32 +0100 |
---|---|---|
committer | freva <valerijf@yahoo-inc.com> | 2017-03-06 11:16:32 +0100 |
commit | 8bea934fd83ebe1ac8e61e03ebcf7d68c008a49d (patch) | |
tree | 500fe4348817eee8d982d7537c76d1c1f8bd4e85 /document/src/test | |
parent | 0b50fa9bb2036bb7dadf2f959a0788d693fd950d (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.java | 4 |
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", " }", " }", "}" |