Skip to content

Commit e65632a

Browse files
committed
Revert test filter names back
This commit reverts the filter names used for testing back to what they were, as the name is used for class name lookup.
1 parent 904f7af commit e65632a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/analysis-phonetic/src/test/java/org/elasticsearch/index/analysis/AnalysisPhoneticFactoryTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ public AnalysisPhoneticFactoryTests() {
3333
@Override
3434
protected Map<String, Class<?>> getTokenFilters() {
3535
Map<String, Class<?>> filters = new HashMap<>(super.getTokenFilters());
36-
filters.put("beider_morse", PhoneticTokenFilterFactory.class);
37-
filters.put("double_metaphone", PhoneticTokenFilterFactory.class);
36+
filters.put("beidermorse", PhoneticTokenFilterFactory.class);
37+
filters.put("doublemetaphone", PhoneticTokenFilterFactory.class);
3838
filters.put("phonetic", PhoneticTokenFilterFactory.class);
3939
return filters;
4040
}

0 commit comments

Comments
 (0)