Skip to content
This repository was archived by the owner on Dec 12, 2018. It is now read-only.

Commit aaf8cdd

Browse files
author
mrioan
authored
1158 - Improved failing IT
1 parent 5845e63 commit aaf8cdd

File tree

1 file changed

+1
-1
lines changed
  • extensions/spring/stormpath-spring-security-webmvc/src/test/groovy/com/stormpath/spring/config

1 file changed

+1
-1
lines changed

extensions/spring/stormpath-spring-security-webmvc/src/test/groovy/com/stormpath/spring/config/CorsFilterIT.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class CorsFilterIT extends AbstractTestNGSpringContextTests {
106106
void testAccessControlRequestMethodRequestFailsForPUT() {
107107
mvc.perform(options(new URI("/me"))
108108
.header("Origin", "http://localhost:3000")
109-
.header("Access-Control-Request-Method", "PUT") //HEAD is not allowed
109+
.header("Access-Control-Request-Method", "HEAD") //HEAD is not allowed
110110
.accept(MediaType.APPLICATION_JSON))
111111
.andExpect(status().is(HttpServletResponse.SC_FORBIDDEN)); //403
112112

0 commit comments

Comments
 (0)