Skip to content

Commit 538d2eb

Browse files
Update src/test/java/org/opensearch/security/filter/SecurityResponseTests.java
Co-authored-by: Stephen Crawford <65832608+scrawfor99@users.noreply.github.com> Signed-off-by: Craig Perkins <craig5008@gmail.com>
1 parent 90255b7 commit 538d2eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/org/opensearch/security/filter/SecurityResponseTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public void testSecurityResponseMultipleContentTypesUsesPassed() {
5656
* This test should check whether specifying no content type correctly uses plain text
5757
*/
5858
@Test
59-
public void testSecurityResponseDefaultContentTypeIsJson() {
59+
public void testSecurityResponseDefaultContentTypeIsText() {
6060
final SecurityResponse response = new SecurityResponse(HttpStatus.SC_OK, null, "foo bar");
6161
final RestResponse restResponse = response.asRestResponse();
6262
assertThat(restResponse.contentType(), equalTo(BytesRestResponse.TEXT_CONTENT_TYPE));

0 commit comments

Comments
 (0)