From 69218af73fa5093dc56bf66f1e69b713e09e8dda Mon Sep 17 00:00:00 2001 From: javanna Date: Tue, 29 Nov 2016 23:21:37 +0100 Subject: [PATCH] Remove subrequests method from CompositeIndicesRequest Original commit: elastic/x-pack-elasticsearch@c64420459811fe9b4fe428c6e862a14bfae74483 --- .../xpack/security/authz/AuthorizationServiceTests.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/elasticsearch/src/test/java/org/elasticsearch/xpack/security/authz/AuthorizationServiceTests.java b/elasticsearch/src/test/java/org/elasticsearch/xpack/security/authz/AuthorizationServiceTests.java index 8b5e21a6a71..d8b96b28efd 100644 --- a/elasticsearch/src/test/java/org/elasticsearch/xpack/security/authz/AuthorizationServiceTests.java +++ b/elasticsearch/src/test/java/org/elasticsearch/xpack/security/authz/AuthorizationServiceTests.java @@ -9,7 +9,6 @@ import org.elasticsearch.ElasticsearchSecurityException; import org.elasticsearch.Version; import org.elasticsearch.action.ActionListener; import org.elasticsearch.action.CompositeIndicesRequest; -import org.elasticsearch.action.IndicesRequest; import org.elasticsearch.action.MockIndicesRequest; import org.elasticsearch.action.admin.cluster.health.ClusterHealthAction; import org.elasticsearch.action.admin.cluster.health.ClusterHealthRequest; @@ -831,10 +830,6 @@ public class AuthorizationServiceTests extends ESTestCase { } private static class MockCompositeIndicesRequest extends TransportRequest implements CompositeIndicesRequest { - @Override - public List subRequests() { - return Collections.singletonList(new MockIndicesRequest(IndicesOptions.strictExpandOpen(), "index")); - } } public void testDoesNotUseRolesStoreForXPackUser() {