Fix simple Sonar Lint issues
[aai/search-data-service.git] / src / test / java / org / onap / aai / sa / searchdbabstraction / searchapi / TermQueryTest.java
index 403ad6e..5a15913 100644 (file)
@@ -29,11 +29,9 @@ public class TermQueryTest {
 \r
     @Test\r
     public void testAllMethods() throws IOException {\r
-\r
         String field = "searchTags.nested";\r
         String stringValue = "theValue.nested";\r
         String termQueryWithStringValueJson = "{\"field\": \"" + field + "\", \"value\": \"" + stringValue + "\"}";\r
-        String termQueryWithStringValueExpectedES = "{\"term\": {\"" + field + "\" : \"" + stringValue + "\"}}";\r
 \r
         ObjectMapper mapper = new ObjectMapper();\r
         TermQuery stringTermQuery = mapper.readValue(termQueryWithStringValueJson, TermQuery.class);\r