summaryrefslogtreecommitdiffstats
path: root/sdnr/wt/apigateway/provider/src
diff options
context:
space:
mode:
authorKAPIL SINGAL <ks220y@att.com>2021-06-25 17:55:36 +0000
committerGerrit Code Review <gerrit@onap.org>2021-06-25 17:55:36 +0000
commiteb3e6911fa6b9a70b59eef520e071c0ad041aaa5 (patch)
treee121f5db0b07ac3c7ec80bc3fbc8f365d829eff1 /sdnr/wt/apigateway/provider/src
parent410cfa4eb6ff554aebb28633a7fc253c8c2b3649 (diff)
parent06b2e53843909bf78b0f10444573712cd6898f87 (diff)
Merge "Fix unit test for apigateway"
Diffstat (limited to 'sdnr/wt/apigateway/provider/src')
-rw-r--r--sdnr/wt/apigateway/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/apigateway/test/TestAaiServlet.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/sdnr/wt/apigateway/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/apigateway/test/TestAaiServlet.java b/sdnr/wt/apigateway/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/apigateway/test/TestAaiServlet.java
index 3436c36f2..35b33d879 100644
--- a/sdnr/wt/apigateway/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/apigateway/test/TestAaiServlet.java
+++ b/sdnr/wt/apigateway/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/apigateway/test/TestAaiServlet.java
@@ -29,7 +29,6 @@ import org.junit.Before;
import org.junit.Test;
import org.onap.ccsdk.features.sdnr.wt.apigateway.MyProperties;
import org.onap.ccsdk.features.sdnr.wt.apigateway.test.helper.HelpAaiServlet;
-import org.onap.ccsdk.features.sdnr.wt.apigateway.test.helper.HelpEsServlet;
import org.onap.ccsdk.features.sdnr.wt.apigateway.test.helper.HelpServletBase;
public class TestAaiServlet extends HelpServletBase {
@@ -64,10 +63,10 @@ public class TestAaiServlet extends HelpServletBase {
// initEsTestWebserver(port);
properties.load(new ByteArrayInputStream(tmpconfigcontent2.getBytes()));
- testrequest(HTTPMETHOD_GET, query, HelpEsServlet.RESPONSE_GET, true);
- testrequest(HTTPMETHOD_POST, query, HelpEsServlet.RESPONSE_POST, true);
- testrequest(HTTPMETHOD_PUT, query, HelpEsServlet.RESPONSE_PUT, true);
- testrequest(HTTPMETHOD_DELETE, query, HelpEsServlet.RESPONSE_DELETE, true);
+ testrequest(HTTPMETHOD_GET, query, HelpAaiServlet.RESPONSE_GET, true);
+ testrequest(HTTPMETHOD_POST, query, HelpAaiServlet.RESPONSE_POST, true);
+ testrequest(HTTPMETHOD_PUT, query, HelpAaiServlet.RESPONSE_PUT, true);
+ testrequest(HTTPMETHOD_DELETE, query, HelpAaiServlet.RESPONSE_DELETE, true);
testrequest(HTTPMETHOD_OPTIONS, query, "", false);
// stopTestWebserver();
if (tmpFile.exists())