Update ExpressionUrlAuthorizationConfigurer Error Message
Update error message
This commit is contained in:
committed by
Rob Winch
parent
40208127e8
commit
b6800bdb4d
@@ -97,7 +97,7 @@ public class ExpressionUrlAuthorizationConfigurerTests extends BaseSpringSpec {
|
||||
loadConfig(NoRequestsConfig)
|
||||
then: "A meaningful exception is thrown"
|
||||
BeanCreationException success = thrown()
|
||||
success.message.contains "At least one mapping is required (i.e. authorizeRequests().anyRequest.authenticated())"
|
||||
success.message.contains "At least one mapping is required (i.e. authorizeRequests().anyRequest().authenticated())"
|
||||
}
|
||||
|
||||
@EnableWebSecurity
|
||||
|
||||
Reference in New Issue
Block a user