From fdb98cd52b5d0dfd527e0d72761516038080a04d Mon Sep 17 00:00:00 2001 From: Tor Brede Vekterli Date: Thu, 7 Jun 2018 13:43:04 +0200 Subject: Remove leftover debugging test code --- .../java/com/yahoo/docprocs/indexing/DocumentScriptTestCase.java | 7 ------- 1 file changed, 7 deletions(-) (limited to 'docprocs/src/test') 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); -- cgit v1.2.3