Skip to content

Commit 4076a2d

Browse files
committed
Applying change 809e656
Signed-off-by: Mitchell Gale <[email protected]>
1 parent 603c732 commit 4076a2d

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

opensearch/src/test/java/org/opensearch/sql/opensearch/client/OpenSearchRestClientTest.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
import static org.mockito.Mockito.never;
2020
import static org.mockito.Mockito.verify;
2121
import static org.mockito.Mockito.when;
22-
import static org.opensearch.core.xcontent.MediaTypeParserRegistry.setDefaultMediaType;
2322
import static org.opensearch.sql.opensearch.client.OpenSearchClient.META_CLUSTER_NAME;
2423
import static org.opensearch.sql.opensearch.data.type.OpenSearchDataType.MappingType;
2524

@@ -35,7 +34,6 @@
3534
import lombok.SneakyThrows;
3635
import org.apache.commons.lang3.reflect.FieldUtils;
3736
import org.apache.lucene.search.TotalHits;
38-
import org.junit.jupiter.api.BeforeAll;
3937
import org.junit.jupiter.api.BeforeEach;
4038
import org.junit.jupiter.api.DisplayNameGeneration;
4139
import org.junit.jupiter.api.DisplayNameGenerator;
@@ -103,11 +101,6 @@ void setUp() {
103101
client = new OpenSearchRestClient(restClient);
104102
}
105103

106-
@BeforeAll
107-
static void setUpJSON() {
108-
setDefaultMediaType(XContentType.JSON);
109-
}
110-
111104
@Test
112105
void is_index_exist() throws IOException {
113106
when(restClient.indices()

0 commit comments

Comments
 (0)