Skip to content

Commit

Permalink
Adjust expected exception at testShibbolethLogoutWithInvalidReturnPar…
Browse files Browse the repository at this point in the history
…am IT
  • Loading branch information
Paulo Graça committed May 7, 2020
1 parent 172a113 commit e13e295
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.redirectedUrl;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;

import java.io.IOException;
import java.util.Base64;
import javax.servlet.http.Cookie;

Expand Down Expand Up @@ -840,7 +839,7 @@ public void testShibbolethLogoutWithActionAndReturnParams() throws Exception {
.andExpect(redirectedUrl("http://localhost:8080/server/logout"));
}

@Test(expected = IOException.class)
@Test(expected = javax.servlet.ServletException.class)
public void testShibbolethLogoutWithInvalidReturnParam() throws Exception {
context.turnOffAuthorisationSystem();
// Enable Shibboleth login
Expand Down

0 comments on commit e13e295

Please sign in to comment.