Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

Commit

Permalink
Merge pull request #17 from maschmid/JBSEAM-5095
Browse files Browse the repository at this point in the history
JBSEAM-5095 Use seamTest servlet context in ResourceRequestEnvironment
  • Loading branch information
mareknovotny committed Jul 4, 2013
2 parents f322c94 + 092c751 commit 37b600f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -206,7 +206,7 @@ public String getName()

protected EnhancedMockHttpServletRequest createRequest()
{
return new EnhancedMockHttpServletRequest();
return new EnhancedMockHttpServletRequest(environment.seamTest.servletContext);
}

protected EnhancedMockHttpServletResponse createResponse()
Expand Down

0 comments on commit 37b600f

Please sign in to comment.