Skip to content

Commit

Permalink
Remove test
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Perkins <[email protected]>
  • Loading branch information
cwperks committed Oct 2, 2023
1 parent ee54fbb commit 37a251b
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,19 +62,6 @@ public void setUp() throws NoSuchMethodException {
);
}

/**
* Tests to ensure that the output of {@link SecurityRestFilter#wrap} is an instance of AuthczRestHandler
*/
@Test
public void testSecurityRestFilterWrap() throws Exception {
AdminDNs adminDNs = mock(AdminDNs.class);

RestHandler wrappedRestHandler = sf.wrap(testRestHandler, adminDNs);

assertTrue(wrappedRestHandler instanceof SecurityRestFilter.AuthczRestHandler);
assertFalse(wrappedRestHandler instanceof TestRestHandler);
}

@Test
public void testDoesCallDelegateOnSuccessfulAuthorization() throws Exception {
SecurityRestFilter filterSpy = spy(sf);
Expand Down

0 comments on commit 37a251b

Please sign in to comment.