X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=webapp-backend%2Fsrc%2Ftest%2Fjava%2Forg%2Foransc%2Fric%2Fportal%2Fdashboard%2Fcontroller%2FE2ManagerControllerTest.java;h=ddd2b09b95df9993e683ee3b9a74cd3d3a3b5b4c;hb=44203c43bb16a87eb54cc97431a026e111842c97;hp=f4caee3c40a78fe84ea5d9e4d738ac2530be1850;hpb=71fd2c32d99eb355ee5f31226f5577674cba7f8e;p=portal%2Fric-dashboard.git diff --git a/webapp-backend/src/test/java/org/oransc/ric/portal/dashboard/controller/E2ManagerControllerTest.java b/webapp-backend/src/test/java/org/oransc/ric/portal/dashboard/controller/E2ManagerControllerTest.java index f4caee3c..ddd2b09b 100644 --- a/webapp-backend/src/test/java/org/oransc/ric/portal/dashboard/controller/E2ManagerControllerTest.java +++ b/webapp-backend/src/test/java/org/oransc/ric/portal/dashboard/controller/E2ManagerControllerTest.java @@ -2,7 +2,7 @@ * ========================LICENSE_START================================= * O-RAN-SC * %% - * Copyright (C) 2019 AT&T Intellectual Property and Nokia + * Copyright (C) 2019 AT&T Intellectual Property * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -46,7 +46,7 @@ public class E2ManagerControllerTest extends AbstractControllerTest { private ResponseEntity endcSetup() { URI uri = buildUri(null, E2ManagerController.CONTROLLER_PATH, E2ManagerController.ENDC_SETUP_METHOD); logger.info("Invoking {}", uri); - SetupRequest setup = new SetupRequest().ranName(E2ManagerMockConfiguration.MOCK_RAN_NAME); + SetupRequest setup = new SetupRequest().ranName(E2ManagerMockConfiguration.RAN_NAME_1); HttpEntity entity = new HttpEntity<>(setup); return testRestTemplateAdminRole().exchange(uri, HttpMethod.POST, entity, Void.class); } @@ -104,7 +104,7 @@ public class E2ManagerControllerTest extends AbstractControllerTest { public void nodebStatusTest() { endcSetup(); URI uri = buildUri(null, E2ManagerController.CONTROLLER_PATH, E2ManagerController.NODEB_SHUTDOWN_METHOD, - E2ManagerMockConfiguration.MOCK_RAN_NAME); + E2ManagerMockConfiguration.RAN_NAME_1); logger.info("Invoking {}", uri); GetNodebResponse response = testRestTemplateStandardRole().getForObject(uri, GetNodebResponse.class); Assertions.assertNotNull(response.getRanName()); @@ -122,7 +122,7 @@ public class E2ManagerControllerTest extends AbstractControllerTest { public void x2SetupTest() { URI uri = buildUri(null, E2ManagerController.CONTROLLER_PATH, E2ManagerController.X2_SETUP_METHOD); logger.info("Invoking {}", uri); - SetupRequest setup = new SetupRequest().ranName(E2ManagerMockConfiguration.MOCK_RAN_NAME); + SetupRequest setup = new SetupRequest().ranName(E2ManagerMockConfiguration.RAN_NAME_1); HttpEntity entity = new HttpEntity<>(setup); ResponseEntity voidResponse = testRestTemplateAdminRole().exchange(uri, HttpMethod.POST, entity, Void.class);