Skip to content

Commit

Permalink
Fix unit test failure
Browse files Browse the repository at this point in the history
Signed-off-by: Suraj Singh <[email protected]>
  • Loading branch information
dreamer-89 committed Mar 14, 2022
1 parent 3277089 commit 2c078bf
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions server/src/test/java/org/opensearch/indices/TermsLookupTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -93,21 +93,6 @@ public void testSerialization() throws IOException {
}
}

public void testXContentParsingWithType() throws IOException {
XContentParser parser = createParser(
JsonXContent.jsonXContent,
"{ \"index\" : \"index\", \"id\" : \"id\", \"path\" : \"path\", \"routing\" : \"routing\" }"
);

TermsLookup tl = TermsLookup.parseTermsLookup(parser);
assertEquals("index", tl.index());
assertEquals("id", tl.id());
assertEquals("path", tl.path());
assertEquals("routing", tl.routing());

assertWarnings("Deprecated field [type] used, this field is unused and will be removed entirely");
}

public void testXContentParsing() throws IOException {
XContentParser parser = createParser(
JsonXContent.jsonXContent,
Expand Down

0 comments on commit 2c078bf

Please sign in to comment.