Corrected artifact name for multiple template ids
Made changes in param name value component ts for setting correct
artifact name while saving and retrieving artifacts, in case of multiple
template ids.
Issue-ID: APPC-812
Change-Id: I973f7b763f4c2204425fceb77cdae33944ba3c8d
Signed-off-by: sj108s <sj108s@us.att.com>
diff --git a/src/app/vnfs/build-artifacts/build-artifacts.component.spec.ts b/src/app/vnfs/build-artifacts/build-artifacts.component.spec.ts
index 508ca8c..16d7029 100644
--- a/src/app/vnfs/build-artifacts/build-artifacts.component.spec.ts
+++ b/src/app/vnfs/build-artifacts/build-artifacts.component.spec.ts
@@ -17,7 +17,6 @@
See the License for the specific language governing permissions and
limitations under the License.
-ECOMP is a trademark and service mark of AT&T Intellectual Property.
============LICENSE_END============================================
*/
@@ -94,4 +93,12 @@
it('should create', () => {
expect(component).toBeTruthy();
});
+
+ it('Should validate getRefData method', () => {
+ let refData = {"action": "Configure", "vnf-type": "test 1", "device-protocol": "ANSIBLE"};
+ component.refDataRequiredFiels = false;
+ component.getRefData(refData);
+ expect(component.refDataRequiredFiels).toBeTruthy();
+ });
+
});