diff options
author | Hailong Zhang <zhanghailong22@huawei.com> | 2019-09-05 20:07:35 +0800 |
---|---|---|
committer | Weitao Gao <victor.gao@huawei.com> | 2019-10-14 06:49:14 +0000 |
commit | 7f232e125dbe030f0bf3c360865cba832b694404 (patch) | |
tree | aeb33a7ebecdf15ea71208ebdc3f67db47765b56 /vnfmarket-be/vnf-sdk-marketplace/src/test | |
parent | 9a5a56c6aff10320b4460dbda22a36751a2c2300 (diff) |
modify Sonar Issue
Issue-ID: VNFSDK-462
Signed-off-by: Hailong Zhang <zhanghailong22@huawei.com>
Change-Id: I4aa45fbad04b961a1287ed1a4b7bee6cdefd9101
Diffstat (limited to 'vnfmarket-be/vnf-sdk-marketplace/src/test')
3 files changed, 2 insertions, 3 deletions
diff --git a/vnfmarket-be/vnf-sdk-marketplace/src/test/java/org/onap/vnfsdk/marketplace/db/exception/ErrorCodeExceptionTest.java b/vnfmarket-be/vnf-sdk-marketplace/src/test/java/org/onap/vnfsdk/marketplace/db/exception/ErrorCodeExceptionTest.java index 01bd7c31..4d1933ee 100644 --- a/vnfmarket-be/vnf-sdk-marketplace/src/test/java/org/onap/vnfsdk/marketplace/db/exception/ErrorCodeExceptionTest.java +++ b/vnfmarket-be/vnf-sdk-marketplace/src/test/java/org/onap/vnfsdk/marketplace/db/exception/ErrorCodeExceptionTest.java @@ -25,7 +25,7 @@ public class ErrorCodeExceptionTest { @Before public void setUp() { - e1 = new ErrorCodeException(null, 0, 0, null, null); + e1 = new ErrorCodeException(null, 0, null); } @Test diff --git a/vnfmarket-be/vnf-sdk-marketplace/src/test/java/org/onap/vnfsdk/marketplace/db/exception/MarketplaceResourceExceptionTest.java b/vnfmarket-be/vnf-sdk-marketplace/src/test/java/org/onap/vnfsdk/marketplace/db/exception/MarketplaceResourceExceptionTest.java index df386060..d8c215d9 100644 --- a/vnfmarket-be/vnf-sdk-marketplace/src/test/java/org/onap/vnfsdk/marketplace/db/exception/MarketplaceResourceExceptionTest.java +++ b/vnfmarket-be/vnf-sdk-marketplace/src/test/java/org/onap/vnfsdk/marketplace/db/exception/MarketplaceResourceExceptionTest.java @@ -24,7 +24,7 @@ public class MarketplaceResourceExceptionTest { MarketplaceResourceException marketplaceResourceException; @Before public void setUp() throws Exception { - marketplaceResourceException= new MarketplaceResourceException(null,0,0,null,null); + marketplaceResourceException= new MarketplaceResourceException(null,0,null); } @Test public void testGetter() diff --git a/vnfmarket-be/vnf-sdk-marketplace/src/test/java/org/onap/vnfsdk/marketplace/resource/PackageResourceTest.java b/vnfmarket-be/vnf-sdk-marketplace/src/test/java/org/onap/vnfsdk/marketplace/resource/PackageResourceTest.java index 64df9fa9..11cce8fb 100644 --- a/vnfmarket-be/vnf-sdk-marketplace/src/test/java/org/onap/vnfsdk/marketplace/resource/PackageResourceTest.java +++ b/vnfmarket-be/vnf-sdk-marketplace/src/test/java/org/onap/vnfsdk/marketplace/resource/PackageResourceTest.java @@ -70,7 +70,6 @@ import org.onap.vnfsdk.marketplace.onboarding.entity.OnBoradingRequest; import org.onap.vnfsdk.marketplace.onboarding.entity.ResultKey; import org.onap.vnfsdk.marketplace.onboarding.hooks.functiontest.FunctionTestExceutor; import org.onap.vnfsdk.marketplace.onboarding.hooks.functiontest.FunctionTestHook; -import org.onap.vnfsdk.marketplace.resource.PackageResource; import org.onap.vnfsdk.marketplace.rest.RestResponse; import org.onap.vnfsdk.marketplace.rest.RestfulClient; import org.onap.vnfsdk.marketplace.wrapper.PackageWrapper; |