removed unused variables 68/110668/2
authorKuleshov, Elena <evn@att.com>
Tue, 28 Jul 2020 18:03:27 +0000 (14:03 -0400)
committerBenjamin, Max (mb388a) <mb388a@att.com>
Wed, 26 Aug 2020 15:25:48 +0000 (11:25 -0400)
removed unused variables from tests

Issue-ID: SO-3107
Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com>
Change-Id: I89797c7204990bb5f84f943ff3265c0d8e7d32dc

mso-api-handlers/mso-api-handler-infra/src/test/java/org/onap/so/apihandlerinfra/OrchestrationRequestsTest.java

index 7711608..1f944da 100644 (file)
@@ -335,7 +335,6 @@ public class OrchestrationRequestsTest extends BaseTest {
 
         Map<String, List<String>> orchestrationMap = new HashMap<>();
         orchestrationMap.put("modelType", values);
-        List<GetOrchestrationResponse> testResponses = new ArrayList<>();
 
         List<InfraActiveRequests> requests = requestsDbClient.getOrchestrationFiltersFromInfraActive(orchestrationMap);
         HttpHeaders headers = new HttpHeaders();
@@ -427,7 +426,6 @@ public class OrchestrationRequestsTest extends BaseTest {
     public void testUnlockOrchestrationRequest_Valid_Status()
             throws JsonParseException, JsonMappingException, IOException, ValidationException {
         setupTestUnlockOrchestrationRequest_Valid_Status("5ffbabd6-b793-4377-a1ab-082670fbc7ac", "PENDING");
-        ObjectMapper mapper = new ObjectMapper();
         String requestJSON =
                 new String(Files.readAllBytes(Paths.get("src/test/resources/OrchestrationRequest/Request.json")));
         HttpHeaders headers = new HttpHeaders();
@@ -481,7 +479,6 @@ public class OrchestrationRequestsTest extends BaseTest {
         assertThat(actualProcessingData, sameBeanAs(expectedDataList));
     }
 
-
     public void setupTestGetOrchestrationRequest() throws Exception {
         // For testGetOrchestrationRequest
         wireMockServer.stubFor(any(urlPathEqualTo("/infraActiveRequests/00032ab7-1a18-42e5-965d-8ea592502018"))