Skip to content

Commit

Permalink
oidc: fix remove invalid testcase
Browse files Browse the repository at this point in the history
addon to commit 83d1e77

Acked-by:
Target: master, 9.2, 9.1, 9.0, 8.2
Require-book: no
Require-notes: no
(cherry picked from commit aec714e)
Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
  • Loading branch information
kofemann authored and mksahakyan committed Oct 27, 2023
1 parent 63aca37 commit cf53c01
Showing 1 changed file with 0 additions and 14 deletions.
Expand Up @@ -94,20 +94,6 @@ public void shouldIdentifyComputeCancelScope() {
assertTrue(WlcgProfileScope.isWlcgProfileScope("compute.cancel"));
}

@Test
public void shouldParseReadScopeWithoutResourcePath() {
WlcgProfileScope scope = new WlcgProfileScope("storage.read");

Optional<Authorisation> 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:/");
Expand Down

0 comments on commit cf53c01

Please sign in to comment.