Shield: Fix compilation error in IndexAuditTrailTests
Original commit: elastic/x-pack-elasticsearch@744d133fc4
This commit is contained in:
parent
68f85b5527
commit
4dd5bfe0e7
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue