diff options
author | Tor Brede Vekterli <vekterli@oath.com> | 2018-06-07 13:43:04 +0200 |
---|---|---|
committer | Tor Brede Vekterli <vekterli@oath.com> | 2018-06-07 13:43:04 +0200 |
commit | fdb98cd52b5d0dfd527e0d72761516038080a04d (patch) | |
tree | 7d0657a00faf998c5247f3c969095668b54f01c8 /docprocs | |
parent | 8fcb70aac51836e84deabfc1e43853701cb801aa (diff) |
Remove leftover debugging test code
Diffstat (limited to 'docprocs')
-rw-r--r-- | docprocs/src/test/java/com/yahoo/docprocs/indexing/DocumentScriptTestCase.java | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/docprocs/src/test/java/com/yahoo/docprocs/indexing/DocumentScriptTestCase.java b/docprocs/src/test/java/com/yahoo/docprocs/indexing/DocumentScriptTestCase.java index 1298384c4a2..419b60432c4 100644 --- a/docprocs/src/test/java/com/yahoo/docprocs/indexing/DocumentScriptTestCase.java +++ b/docprocs/src/test/java/com/yahoo/docprocs/indexing/DocumentScriptTestCase.java @@ -229,13 +229,6 @@ public class DocumentScriptTestCase { StringFieldValue newTitleValue = new StringFieldValue("iron moose 4, moose with a vengeance"); DocumentUpdate update = f.executeWithUpdate("structfield", new AssignFieldPathUpdate(f.type, "structfield.title", newTitleValue)); - Document doc = new Document(f.type, "id:test:documentType::balle"); - Struct s = new Struct(f.structType); - s.setFieldValue("title", new StringFieldValue("banan")); - doc.setFieldValue("structfield", s); - - update.applyTo(doc); - assertEquals(1, update.getFieldPathUpdates().size()); assertEquals(0, update.getFieldUpdates().size()); assertTrue(update.getFieldPathUpdates().get(0) instanceof AssignFieldPathUpdate); |