diff --git a/integration/dynamic_templates.js b/integration/dynamic_templates.js index a0c1c739..1084a41c 100644 --- a/integration/dynamic_templates.js +++ b/integration/dynamic_templates.js @@ -129,20 +129,13 @@ function addendumAssertion( type, namespace, value, common ){ var addendumProperties = properties.addendum.properties; t.true([ - 'string', // elasticsearch 2.4 'keyword' // elasticsearch 5.6 ].includes( addendumProperties[namespace].type )); t.true([ - 'no', // elasticsearch 2.4 false // elasticsearch 5.6 ].includes( addendumProperties[namespace].index )); - // elasticsearch 2.4 - if( addendumProperties[namespace].fielddata ){ - t.equal( addendumProperties[namespace].fielddata.format, 'disabled' ); - } - // elasticsearch 5.6 if( addendumProperties[namespace].doc_values ){ t.equal( addendumProperties[namespace].doc_values, false ); @@ -167,4 +160,4 @@ function addendumAssertion( type, namespace, value, common ){ suite.run( t.end ); }; -} \ No newline at end of file +}