« Return to Thread: [ANN] Testing Plugin 0.2 sneakily released

Re: [ANN] Testing Plugin 0.2 sneakily released

by Robert Fletcher :: Rate this Message:

Reply to Author | View in Thread

I'm getting the following exception in all my controller tests:

    Cannot cast object
'org.codehaus.groovy.grails.plugins.testing.GrailsMockHttpSession@11fd699'
with class
    'org.codehaus.groovy.grails.plugins.testing.GrailsMockHttpSession'
to class 'java.util.Map'
    ...
    at grails.test.ControllerUnitTestCase.setUp(ControllerUnitTestCase.groovy:76)

Looks like the plugin now attaches a GrailsMockHttpSession to the
controller but the property on ControllerUnitTestCase is still
declared as Map.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: [ANN] Testing Plugin 0.2 sneakily released