Undo a debugging change that snuck in during the field aliases merge.
This commit is contained in:
parent
1690451a9f
commit
54ba3ea286
|
@ -61,8 +61,8 @@ import static org.hamcrest.Matchers.notNullValue;
|
||||||
public class MatchQueryBuilderTests extends AbstractQueryTestCase<MatchQueryBuilder> {
|
public class MatchQueryBuilderTests extends AbstractQueryTestCase<MatchQueryBuilder> {
|
||||||
@Override
|
@Override
|
||||||
protected MatchQueryBuilder doCreateTestQueryBuilder() {
|
protected MatchQueryBuilder doCreateTestQueryBuilder() {
|
||||||
String fieldName = STRING_ALIAS_FIELD_NAME; //randomFrom(STRING_FIELD_NAME, STRING_ALIAS_FIELD_NAME, BOOLEAN_FIELD_NAME,
|
String fieldName = randomFrom(STRING_FIELD_NAME, STRING_ALIAS_FIELD_NAME, BOOLEAN_FIELD_NAME,
|
||||||
//INT_FIELD_NAME, DOUBLE_FIELD_NAME, DATE_FIELD_NAME);
|
INT_FIELD_NAME, DOUBLE_FIELD_NAME, DATE_FIELD_NAME);
|
||||||
if (fieldName.equals(DATE_FIELD_NAME)) {
|
if (fieldName.equals(DATE_FIELD_NAME)) {
|
||||||
assumeTrue("test runs only when at least a type is registered", getCurrentTypes().length > 0);
|
assumeTrue("test runs only when at least a type is registered", getCurrentTypes().length > 0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue