From b8566c560b21c595525e5bcba855c8632a8cd9db Mon Sep 17 00:00:00 2001 From: c00149107 Date: Tue, 6 Mar 2018 16:34:59 +0800 Subject: Update paramXSD as recipe common field Update paramXSD as recipe common field Change-Id: I8fe382e65957dc3983abfcb638582bf074875fdb Issue-ID: SO-456 Signed-off-by: c00149107 --- .../java/org/openecomp/mso/db/catalog/test/NetworkRecipeTest.java | 4 ++-- .../test/java/org/openecomp/mso/db/catalog/test/VnfRecipeTest.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'mso-catalog-db/src/test') diff --git a/mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/test/NetworkRecipeTest.java b/mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/test/NetworkRecipeTest.java index 97eadb3f1d..c17b50e738 100644 --- a/mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/test/NetworkRecipeTest.java +++ b/mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/test/NetworkRecipeTest.java @@ -46,8 +46,8 @@ public class NetworkRecipeTest { assertTrue(networkRecipe.getId() == 1); networkRecipe.setModelName("modelName"); assertTrue(networkRecipe.getModelName().equalsIgnoreCase("modelName")); - networkRecipe.setNetworkParamXSD("networkParamXSD"); - assertTrue(networkRecipe.getNetworkParamXSD().equalsIgnoreCase("networkParamXSD")); + networkRecipe.setParamXSD("networkParamXSD"); + assertTrue(networkRecipe.getParamXSD().equalsIgnoreCase("networkParamXSD")); networkRecipe.setOrchestrationUri("orchestrationUri"); assertTrue(networkRecipe.getOrchestrationUri().equalsIgnoreCase("orchestrationUri")); networkRecipe.setRecipeTimeout(1); diff --git a/mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/test/VnfRecipeTest.java b/mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/test/VnfRecipeTest.java index 95e45f7b52..3f707871a6 100644 --- a/mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/test/VnfRecipeTest.java +++ b/mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/test/VnfRecipeTest.java @@ -52,8 +52,8 @@ public class VnfRecipeTest { assertTrue(vnfRecipe.getServiceType().equalsIgnoreCase("serviceType")); vnfRecipe.setVersion("version"); assertTrue(vnfRecipe.getVersion().equalsIgnoreCase("version")); - vnfRecipe.setVnfParamXSD("vnfParamXSD"); - assertTrue(vnfRecipe.getVnfParamXSD().equalsIgnoreCase("vnfParamXSD")); + vnfRecipe.setParamXSD("vnfParamXSD"); + assertTrue(vnfRecipe.getParamXSD().equalsIgnoreCase("vnfParamXSD")); vnfRecipe.setVfModuleId("vfModuleId"); assertTrue(vnfRecipe.getVfModuleId().equalsIgnoreCase("vfModuleId")); // assertTrue(vnfRecipe.toString() == null); -- cgit 1.2.3-korg