Skip to content

Commit

Permalink
gplazma: fix broken commit d74d956
Browse files Browse the repository at this point in the history
java17 is not allowed

(cherry picked from commit 7a2bfe0)
Signed-off-by: Tigran Mkrtchyan <[email protected]>
  • Loading branch information
kofemann committed Sep 10, 2024
1 parent 729ce8f commit 4d14890
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package org.dcache.gplazma.plugins;

import static java.util.stream.Collectors.toList;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.empty;
import static org.hamcrest.Matchers.hasItem;
Expand Down Expand Up @@ -496,7 +497,7 @@ public void shouldAddOpWithoutIssuer() throws Exception {

var opPrincipals = mappedPrincipals.stream()
.filter(OAuthProviderPrincipal.class::isInstance)
.toList();
.collect(toList());
// Avoid asserting the OP's placeholder issuer URL because we don't
// guarantee that value.
assertThat(opPrincipals.size(), equalTo(1));
Expand Down

0 comments on commit 4d14890

Please sign in to comment.