Skip to content

Commit 4ea71a8

Browse files
committed
fix failing test
1 parent 8f95868 commit 4ea71a8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

grails-test-suite-uber/src/test/groovy/org/codehaus/groovy/grails/web/metaclass/ForwardMethodspec.groovy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ class ForwardMethodSpec extends Specification {
4141
request.getAttribute(GrailsApplicationAttributes.CONTROLLER_NAME_ATTRIBUTE) >> { 'foo' }
4242
request.getAttribute(GrailsApplicationAttributes.WEB_REQUEST) >> { webRequest }
4343
request.getRequestDispatcher(_) >> { dispatcher }
44+
def parameters = [:]
45+
request.getParameterMap() >> { parameters }
4446
}
4547

4648
def 'Test forward request with controller and action params and url converter'() {

0 commit comments

Comments
 (0)