diff options
author | m.miernik <m.miernik@samsung.com> | 2021-06-25 12:11:06 +0200 |
---|---|---|
committer | m.miernik <m.miernik@samsung.com> | 2021-06-25 12:13:41 +0200 |
commit | 06b2e53843909bf78b0f10444573712cd6898f87 (patch) | |
tree | d4caee8bc9acbfea526b447c2c39a5c410515f94 /sdnr/wt/apigateway/provider/src/test/java | |
parent | cb7e5aa3c0445882a2bc04222573c1563b98117b (diff) |
Fix unit test for apigateway
Fix in TestAaiServlet.java
Issue-ID: SDNC-1579
Change-Id: I2a3171473f04d30b173eb419a0b9374db543c3f2
Signed-off-by: m.miernik <m.miernik@samsung.com>
Diffstat (limited to 'sdnr/wt/apigateway/provider/src/test/java')
-rw-r--r-- | sdnr/wt/apigateway/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/apigateway/test/TestAaiServlet.java | 9 |
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()) |