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
  • Loading branch information
kofemann committed Oct 25, 2023
1 parent 83d1e77 commit aec714e
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 aec714e

Please sign in to comment.