You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Jason E Bailey (JIRA)" <ji...@apache.org> on 2018/05/08 15:26:00 UTC

[jira] [Resolved] (SLING-7657) MockSlingHttpServletRequest throws exception on getResponseContentType

     [ https://issues.apache.org/jira/browse/SLING-7657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason E Bailey resolved SLING-7657.
-----------------------------------
    Resolution: Fixed

> MockSlingHttpServletRequest throws exception on getResponseContentType
> ----------------------------------------------------------------------
>
>                 Key: SLING-7657
>                 URL: https://issues.apache.org/jira/browse/SLING-7657
>             Project: Sling
>          Issue Type: Improvement
>            Reporter: Jason E Bailey
>            Assignee: Jason E Bailey
>            Priority: Major
>             Fix For: Servlet Helpers 1.1.6
>
>
> org.apache.sling.servlethelpers.MockSlingHttpServletRequest throws an exception by default for the method getResponseContentType() this prevents the method from being mocked and prevents the Request object being usable to test the default GET servlet



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)