diff options
-rw-r--r-- | src/app/vnfs/build-artifacts/build-artifacts.component.spec.ts | 6 |
1 files changed, 5 insertions, 1 deletions
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 af711da..4635d1d 100644 --- a/src/app/vnfs/build-artifacts/build-artifacts.component.spec.ts +++ b/src/app/vnfs/build-artifacts/build-artifacts.component.spec.ts @@ -162,7 +162,7 @@ describe('BuildDesignComponent', () => { 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(); @@ -177,4 +177,8 @@ describe('BuildDesignComponent', () => { expect(spy).toHaveBeenCalled(); }); + + it('Should test setAllowOtherUpdates method', ()=> { + component.setAllowOtherUpdates(true); + }); }); |