diff options
Diffstat (limited to 'vnfmarket-be/vnf-sdk-marketplace/src/test')
2 files changed, 7 insertions, 7 deletions
diff --git a/vnfmarket-be/vnf-sdk-marketplace/src/test/java/org/onap/vnfsdk/marketplace/filemanage/FileManageTest.java b/vnfmarket-be/vnf-sdk-marketplace/src/test/java/org/onap/vnfsdk/marketplace/filemanage/FileManageTest.java index 901251c3..e04af4fa 100644 --- a/vnfmarket-be/vnf-sdk-marketplace/src/test/java/org/onap/vnfsdk/marketplace/filemanage/FileManageTest.java +++ b/vnfmarket-be/vnf-sdk-marketplace/src/test/java/org/onap/vnfsdk/marketplace/filemanage/FileManageTest.java @@ -39,7 +39,7 @@ public class FileManageTest { new MockUp<FileManagerFactory>() { @Mock private FileManagerType getType() { - return FileManagerType.ftp; + return FileManagerType.FTP; } }; FileManager manager = FileManagerFactory.createFileManager(); @@ -76,7 +76,7 @@ public class FileManageTest { new MockUp<FileManagerFactory>() { @Mock private FileManagerType getType() { - return FileManagerType.http; + return FileManagerType.HTTP; } }; new MockUp<ToolUtil>() { @@ -97,7 +97,7 @@ public class FileManageTest { new MockUp<FileManagerFactory>() { @Mock private FileManagerType getType() { - return FileManagerType.http; + return FileManagerType.HTTP; } }; new MockUp<ToolUtil>() { 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 448db014..64df9fa9 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 @@ -1389,9 +1389,9 @@ public class PackageResourceTest { vnfPackageObj.setVnfPackageUrl("vnfPackageUrl"); vnfPackageObj.setVnfd("vnfd"); vnfPackageObj.setVersion("1"); - vnfPackageObj.setUsageState(EnumUsageState.NotInUse); + vnfPackageObj.setUsageState(EnumUsageState.NOTINUSE); vnfPackageObj.setProvider("huawei"); - vnfPackageObj.setOperationalState(EnumOperationalState.Enabled); + vnfPackageObj.setOperationalState(EnumOperationalState.ENABLED); vnfPackageObj.setName("vnf"); vnfPackageObj.setDeletionPending("pending"); @@ -1404,11 +1404,11 @@ public class PackageResourceTest { res = vnfPackageObj.getVersion(); assertEquals(res, "1"); EnumUsageState state = vnfPackageObj.getUsageState(); - assertEquals(state, EnumUsageState.NotInUse); + assertEquals(state, EnumUsageState.NOTINUSE); res = vnfPackageObj.getProvider(); assertEquals(res, "huawei"); EnumOperationalState operState = vnfPackageObj.getOperationalState(); - assertEquals(operState, EnumOperationalState.Enabled); + assertEquals(operState, EnumOperationalState.ENABLED); res = vnfPackageObj.getName(); assertEquals(res, "vnf"); res = vnfPackageObj.getDeletionPending(); |