added test case to cover setAllowotherUpdates function and to test a
condition in checkRefDataReqFields() function
Issue-ID: APPC-1064
Change-Id: I01bbd061894b98e6afe07b4fc8f87dab65d2378d
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
 
     it('Should notify error message if no valid template identifier', () => {
         let spy = spyOn(NotificationsService.prototype, 'error');
-        component.refList = {"action": "ConfigScaleOut", "scope": {"vnf-type": "test 1"}, "device-protocol": ""};
+        component.refList = {"action": "ConfigScaleOut", "scope": {"vnf-type": "test 1"}, "device-protocol": "ANSIBLE"};
 
         component.checkRefDataReqFields();
 
 
         expect(spy).toHaveBeenCalled();
     });
+
+    it('Should test setAllowOtherUpdates method', ()=> {                
+        component.setAllowOtherUpdates(true);
+    });
 });