From 38ba68232723dc5bffe21c7bca7577cee4129c7b Mon Sep 17 00:00:00 2001 From: Oren Kleks Date: Tue, 11 Jun 2019 13:09:12 +0300 Subject: Add new unit test for CsarInfo. Change-Id: Id624bddd7204a2fadae33f9f7b8aadebe9be2df6 Issue-ID: SDC-2327 Signed-off-by: shrek2000 --- .../test/java/org/openecomp/sdc/be/components/csar/CsarInfoTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'catalog-be/src') 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 expectParam = Arrays.asList(NEW_NODE_NAME, RESOURCE_NAME); // then -- cgit 1.2.3-korg