We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a3d616 commit 5b8a8b6Copy full SHA for 5b8a8b6
access-grant/src/test/java/com/inrupt/client/accessgrant/AccessGrantClientTest.java
@@ -319,7 +319,8 @@ void testGrantFromTemplate() {
319
final AccessGrantClient client = agClient.session(OpenIdSession.ofIdToken(token));
320
final AccessRequest request = client.fetch(uri, AccessRequest.class).toCompletableFuture().join();
321
322
- final AccessGrant grant = client.grantAccess(request).toCompletableFuture().join();
+ final AccessGrant grant = client.grantAccess(request,
323
+ templates -> Set.of(URI.create("https://storage.test/data/"))).toCompletableFuture().join();
324
325
final Instant expiration = Instant.parse("2022-08-27T12:00:00Z");
326
final Set<String> modes = Set.of("Read", "Append");
0 commit comments