Skip to content

Commit b2b7199

Browse files
committed
Update Kotlin hello-security to Relative Redirects
1 parent 004ce37 commit b2b7199

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

servlet/spring-boot/kotlin/hello-security/src/test/kotlin/org/springframework/security/samples/KotlinApplicationTests.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class KotlinApplicationTests(@Autowired private val mockMvc: MockMvc) {
4848
.andExpect {
4949
status { is3xxRedirection() }
5050
header {
51-
redirectedUrlPattern("**/log-in")
51+
redirectedUrl("/log-in")
5252
}
5353
}
5454
}

0 commit comments

Comments
 (0)