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] [Updated] (SLING-7657) MockSlingHttpServletRequest throws exception on getResponseContentType
Date Mon, 07 May 2018 19:35:00 GMT

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

Jason E Bailey updated SLING-7657:
----------------------------------
    Description: 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  (was: org.apache.sling.servlethelpers.MockSlingHttpServletRequest
throws an exception by default for the method .)

> 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.4
>
>
> 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