Skip to content

Commit

Permalink
Fix HTTPSamlAuthenticatorTest
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Liang <jiallian@amazon.com>
  • Loading branch information
RyanL1997 committed Jul 25, 2023
1 parent e15230a commit bf9adc6
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
import org.opensearch.common.io.stream.BytesStreamOutput;
import org.opensearch.common.settings.Settings;
import org.opensearch.common.xcontent.XContentType;
import org.opensearch.core.xcontent.MediaType;
import org.opensearch.core.xcontent.XContentBuilder;
import org.opensearch.rest.RestChannel;
import org.opensearch.rest.RestRequest;
Expand Down Expand Up @@ -992,7 +993,7 @@ public XContentBuilder newErrorBuilder() throws IOException {
}

@Override
public XContentBuilder newBuilder(XContentType xContentType, boolean useFiltering) throws IOException {
public XContentBuilder newBuilder(MediaType xContentType, boolean useFiltering) throws IOException {
return null;
}

Expand All @@ -1018,7 +1019,7 @@ public void sendResponse(RestResponse response) {
}

@Override
public XContentBuilder newBuilder(XContentType xContentType, XContentType responseContentType, boolean useFiltering)
public XContentBuilder newBuilder(MediaType xContentType, MediaType responseContentType, boolean useFiltering)
throws IOException {
return null;
}
Expand Down

0 comments on commit bf9adc6

Please sign in to comment.