Formatting cleanup
This commit is contained in:
parent
8e74407381
commit
3c82e63ded
|
@ -45,19 +45,20 @@ class MultiHttpBlockConfigTests extends AbstractHttpConfigTests {
|
||||||
e.cause instanceof IllegalArgumentException
|
e.cause instanceof IllegalArgumentException
|
||||||
}
|
}
|
||||||
|
|
||||||
def duplicatePatternsAreRejected () {
|
def duplicatePatternsAreRejected () {
|
||||||
when: "Two <http> elements with the same pattern are used"
|
when: "Two <http> elements with the same pattern are used"
|
||||||
xml.http(pattern: '/stateless/**', 'create-session': 'stateless') {
|
xml.http(pattern: '/stateless/**', 'create-session': 'stateless') {
|
||||||
'http-basic'()
|
'http-basic'()
|
||||||
}
|
}
|
||||||
xml.http(pattern: '/stateless/**') {
|
xml.http(pattern: '/stateless/**') {
|
||||||
'form-login'()
|
'form-login'()
|
||||||
}
|
}
|
||||||
createAppContext()
|
createAppContext()
|
||||||
then:
|
then:
|
||||||
BeanCreationException e = thrown()
|
BeanCreationException e = thrown()
|
||||||
e.cause instanceof IllegalArgumentException
|
e.cause instanceof IllegalArgumentException
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def namedFilterChainIsExposedAsABean () {
|
def namedFilterChainIsExposedAsABean () {
|
||||||
|
|
Loading…
Reference in New Issue