diff options
Diffstat (limited to 'config-model/src/test/java/com/yahoo/searchdefinition/CommentTestCase.java')
-rw-r--r-- | config-model/src/test/java/com/yahoo/searchdefinition/CommentTestCase.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config-model/src/test/java/com/yahoo/searchdefinition/CommentTestCase.java b/config-model/src/test/java/com/yahoo/searchdefinition/CommentTestCase.java index 050d5299c7d..35eccb19151 100644 --- a/config-model/src/test/java/com/yahoo/searchdefinition/CommentTestCase.java +++ b/config-model/src/test/java/com/yahoo/searchdefinition/CommentTestCase.java @@ -14,12 +14,12 @@ import static org.junit.Assert.assertEquals; * * @author bratseth */ -public class CommentTestCase extends SchemaTestCase { +public class CommentTestCase extends AbstractSchemaTestCase { @Test public void testComments() throws IOException, ParseException { - Search search = SearchBuilder.buildFromFile("src/test/examples/comment.sd"); - SDField field = search.getConcreteField("a"); + Schema schema = SearchBuilder.buildFromFile("src/test/examples/comment.sd"); + SDField field = schema.getConcreteField("a"); assertEquals("{ input a | tokenize normalize stem:\"BEST\" | summary a | index a; }", field.getIndexingScript().toString()); } |