Skip to content

Commit fa552d1

Browse files
Removed unneeded function
1 parent d0bd00f commit fa552d1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/store/ReservedRolesStoreTests.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4306,10 +4306,4 @@ private IndexAbstraction mockIndexAbstraction(String name) {
43064306
return mock;
43074307
}
43084308

4309-
private IndexAbstraction mockIndexAbstraction(String name, IndexAbstraction.Type type) {
4310-
IndexAbstraction mock = mock(IndexAbstraction.class);
4311-
when(mock.getName()).thenReturn(name);
4312-
when(mock.getType()).thenReturn(type);
4313-
return mock;
4314-
}
43154309
}

0 commit comments

Comments
 (0)