summaryrefslogtreecommitdiffstats
path: root/src/app/shared/pipes
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2019-08-05 17:23:50 +0530
committerTakamune Cho <takamune.cho@att.com>2019-08-06 17:18:07 +0000
commitc44bb737c6de469d3d6b0d95b36a16a916d00037 (patch)
tree81fca310f835963200be3a5f1be9a14a5fb09e12 /src/app/shared/pipes
parent429ef4f52cff663b36a304dc8c96a8e01a7b56f6 (diff)
vm-filtering pipe spec changes
fixed errors in spec file Issue-ID: APPC-1632 Change-Id: I8a258bb72514c0eb670b962878a8489ddbe5153f Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'src/app/shared/pipes')
-rw-r--r--src/app/shared/pipes/vm-filtering.pipe.spec.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/app/shared/pipes/vm-filtering.pipe.spec.ts b/src/app/shared/pipes/vm-filtering.pipe.spec.ts
index 3cb269b..9c544cb 100644
--- a/src/app/shared/pipes/vm-filtering.pipe.spec.ts
+++ b/src/app/shared/pipes/vm-filtering.pipe.spec.ts
@@ -2,6 +2,8 @@
============LICENSE_START==========================================
===================================================================
Copyright (C) 2018 AT&T Intellectual Property. All rights reserved.
+
+Modifications Copyright (C) 2019 IBM
===================================================================
Unless otherwise specified, all software contained herein is licensed
@@ -33,7 +35,7 @@ describe('VmFilteringPipe', () => {
{action:"Configure","template-id":2,"type":"con"},
{action:"ConfigScaleout","template-id":1,"type":"conScale"}
]
- expect(pipe.transform(objArray,"ConfigScaleOut",1)[0].type).toBe("conScale")
+ expect(pipe.transform(objArray,"ConfigScaleOut",1, {})[0].type,).toBe("conScale")
});
it('should return configure calues',()=>{
@@ -43,7 +45,7 @@ describe('VmFilteringPipe', () => {
{action:"Configure","template-id":2,"type":"con"},
{action:"ConfigScaleout","template-id":1,"type":"conScale"}
]
- expect(pipe.transform(objArray,"Config",2)[0].type).toBe("con")
+ expect(pipe.transform(objArray,"Config",2, {})[0].type).toBe("con")
});
});