From 4e9864a3369bf258dd72179a2a7b16d509af8b2b Mon Sep 17 00:00:00 2001 From: Tigran Mkrtchyan Date: Wed, 25 Oct 2023 08:59:34 +0200 Subject: [PATCH] oidc: fix remove invalid testcase addon to commit 83d1e77eed Acked-by: Target: master, 9.2, 9.1, 9.0, 8.2 Require-book: no Require-notes: no (cherry picked from commit aec714e65319a348574f031d6767c66715fc4150) Signed-off-by: Tigran Mkrtchyan --- .../oidc/profiles/WlcgProfileScopeTest.java | 14 -------------- 1 file changed, 14 deletions(-) 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:/");