Shield: Fix compilation error in IndexAuditTrailTests

Original commit: elastic/x-pack-elasticsearch@744d133fc4
This commit is contained in:
Tanguy Leroux 2015-10-16 08:52:15 +02:00
parent 68f85b5527
commit 4dd5bfe0e7
1 changed files with 1 additions and 1 deletions

View File

@ -794,7 +794,7 @@ public class IndexAuditTrailTests extends ShieldIntegTestCase {
SearchResponse response = getClient().prepareSearch(resolveIndexName())
.setTypes(IndexAuditTrail.DOC_TYPE)
.addFields(fieldList())
.fields(fieldList())
.execute().actionGet();
assertEquals(1, response.getHits().getTotalHits());