bring back accidentially removed MockScriptEngine plugin

This commit is contained in:
Simon Willnauer 2016-03-07 12:17:32 +01:00
parent 46c295d029
commit 7e4c4cd8d9
1 changed files with 4 additions and 0 deletions

View File

@ -70,6 +70,10 @@ import static org.hamcrest.Matchers.nullValue;
/**
*/
public class InnerHitsIT extends ESIntegTestCase {
@Override
protected Collection<Class<? extends Plugin>> nodePlugins() {
return pluginList(MockScriptEngine.TestPlugin.class);
}
public void testSimpleNested() throws Exception {
assertAcked(prepareCreate("articles").addMapping("article", jsonBuilder().startObject().startObject("article").startObject("properties")