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 <[email protected]>
  • Loading branch information
kofemann authored and mksahakyan committed Oct 27, 2023
1 parent 8059c50 commit 4e9864a
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
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 4e9864a

Please sign in to comment.