Remove test backported in error

This commit is contained in:
Alan Woodward 2020-07-09 21:45:21 +01:00
parent 94e213dd5f
commit 4b9cbfca64
1 changed files with 0 additions and 21 deletions

View File

@ -1,21 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.vectors.mapper;
import org.elasticsearch.index.mapper.FieldTypeTestCase;
import org.elasticsearch.index.mapper.MappedFieldType;
import java.util.Collections;
public class SparseVectorFieldTypeTests extends FieldTypeTestCase {
public void testDocValuesDisabled() {
MappedFieldType fieldType = new SparseVectorFieldMapper.SparseVectorFieldType("field", Collections.emptyMap());
expectThrows(IllegalArgumentException.class, () -> fieldType.fielddataBuilder("index"));
}
}