test: upstream changes for elastic/elasticsearch#13646

Original commit: elastic/x-pack-elasticsearch@0b2bff1b06
This commit is contained in:
Martijn van Groningen 2016-01-06 16:09:25 +01:00
parent 9709036024
commit 6f2208cc86
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ public class ShieldIndexSearcherWrapperUnitTests extends ESTestCase {
AnalysisService analysisService = new AnalysisService(indexSettings, Collections.emptyMap(), Collections.emptyMap(),
Collections.emptyMap(), Collections.emptyMap());
SimilarityService similarityService = new SimilarityService(indexSettings, Collections.emptyMap());
mapperService = new MapperService(indexSettings, analysisService, similarityService, new IndicesModule().getMapperRegistry());
mapperService = new MapperService(indexSettings, analysisService, similarityService, new IndicesModule().getMapperRegistry(), () -> null);
ShardId shardId = new ShardId(index, 0);
licenseState = mock(ShieldLicenseState.class);