Skip to content

Commit cb472ef

Browse files
authored
Update AutoconfigureTest.java
1 parent 499c02f commit cb472ef

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

sdk/src/test/java/io/opentdf/platform/sdk/AutoconfigureTest.java

-12
Original file line numberDiff line numberDiff line change
@@ -592,18 +592,6 @@ public void cancel() {
592592
}
593593
);
594594

595-
// AttributesServiceGrpc.AttributesServiceFutureStub attributeGrpcStub = mock(
596-
// AttributesServiceGrpc.AttributesServiceFutureStub.class);
597-
// lenient().when(attributeGrpcStub.getAttributeValuesByFqns(any(GetAttributeValuesByFqnsRequest.class)))
598-
// .thenAnswer(
599-
// invocation -> {
600-
// GetAttributeValuesByFqnsResponse resp = getResponse(
601-
// (GetAttributeValuesByFqnsRequest) invocation.getArguments()[0]);
602-
// SettableFuture<GetAttributeValuesByFqnsResponse> future = SettableFuture.create();
603-
// future.set(resp); // Set the request as the future's result
604-
// return future;
605-
// });
606-
607595
Granter reasoner = Autoconfigure.newGranterFromService(attributeService, new KASKeyCache(),
608596
tc.getPolicy().toArray(new AttributeValueFQN[0]));
609597
assertThat(reasoner).isNotNull();

0 commit comments

Comments
 (0)