diff --git a/json/src/main/groovy/grails/plugin/json/view/test/TestRequestConfigurer.groovy b/json/src/main/groovy/grails/plugin/json/view/test/TestRequestConfigurer.groovy index b56f3b144..754f6f525 100644 --- a/json/src/main/groovy/grails/plugin/json/view/test/TestRequestConfigurer.groovy +++ b/json/src/main/groovy/grails/plugin/json/view/test/TestRequestConfigurer.groovy @@ -26,7 +26,7 @@ class TestRequestConfigurer implements Request { String contentType = 'application/json' String characterEncoding = 'UTF-8' Map> headers = new LinkedHashMap>().withDefault { String name -> - return [] + return [] as List } Map attributes = new LinkedHashMap()