diff --git a/modules/gplazma2-oidc/src/test/java/org/dcache/gplazma/oidc/profiles/WlcgProfileScopeTest.java b/modules/gplazma2-oidc/src/test/java/org/dcache/gplazma/oidc/profiles/WlcgProfileScopeTest.java index c565b437d0b..5dbfbf42df4 100644 --- a/modules/gplazma2-oidc/src/test/java/org/dcache/gplazma/oidc/profiles/WlcgProfileScopeTest.java +++ b/modules/gplazma2-oidc/src/test/java/org/dcache/gplazma/oidc/profiles/WlcgProfileScopeTest.java @@ -94,20 +94,6 @@ public void shouldIdentifyComputeCancelScope() { assertTrue(WlcgProfileScope.isWlcgProfileScope("compute.cancel")); } - @Test - public void shouldParseReadScopeWithoutResourcePath() { - WlcgProfileScope scope = new WlcgProfileScope("storage.read"); - - Optional maybeAuth = scope.authorisation(FsPath.create("/VOs/wlcg")); - - assertTrue(maybeAuth.isPresent()); - - Authorisation auth = maybeAuth.get(); - - assertThat(auth.getPath(), equalTo(FsPath.create("/VOs/wlcg"))); - assertThat(auth.getActivity(), containsInAnyOrder(LIST, READ_METADATA, DOWNLOAD)); - } - @Test public void shouldParseReadScopeWithRootResourcePath() { WlcgProfileScope scope = new WlcgProfileScope("storage.read:/");