summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/test/java
diff options
context:
space:
mode:
authorOren Kleks <orenkle@amdocs.com>2019-06-11 13:09:12 +0300
committershrek2000 <orenkle@amdocs.com>2019-06-11 13:09:12 +0300
commit38ba68232723dc5bffe21c7bca7577cee4129c7b (patch)
tree49987782cbe6aaf9fd2b60c4c35e8b8a23ff3c32 /catalog-be/src/test/java
parentb860dec65f025017c1f2bba4eb699b4744f09065 (diff)
Add new unit test for CsarInfo.
Change-Id: Id624bddd7204a2fadae33f9f7b8aadebe9be2df6 Issue-ID: SDC-2327 Signed-off-by: shrek2000 <orenkle@amdocs.com>
Diffstat (limited to 'catalog-be/src/test/java')
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/components/csar/CsarInfoTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/components/csar/CsarInfoTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/components/csar/CsarInfoTest.java
index d39c097de5..3c9ae0721e 100644
--- a/catalog-be/src/test/java/org/openecomp/sdc/be/components/csar/CsarInfoTest.java
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/components/csar/CsarInfoTest.java
@@ -40,7 +40,7 @@ import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.junit.MockitoJUnitRunner;
-import org.openecomp.sdc.be.components.impl.exceptions.ComponentException;
+import org.openecomp.sdc.be.components.impl.exceptions.ByActionStatusComponentException;
import org.openecomp.sdc.be.dao.api.ActionStatus;
import org.openecomp.sdc.be.model.NodeTypeInfo;
import org.openecomp.sdc.be.model.User;
@@ -82,7 +82,7 @@ public class CsarInfoTest {
csarInfo.addNodeToQueue(NEW_NODE_NAME);
csarInfo.addNodeToQueue(NEW_NODE_NAME);
fail("AddNodeToQueue not throw the exception!");
- } catch (ComponentException e) {
+ } catch (ByActionStatusComponentException e) {
List<String> expectParam = Arrays.asList(NEW_NODE_NAME, RESOURCE_NAME);
// then