summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docprocs/src/test/java/com/yahoo/docprocs/indexing/DocumentScriptTestCase.java7
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);