sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason E Bailey (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (SLING-7657) MockSlingHttpServletRequest throws exception on getResponseContentType
Date Sat, 12 May 2018 12:23:00 GMT

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

Jason E Bailey closed SLING-7657.
---------------------------------

> 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)

Mime
View raw message