Code Review
/
appc
/
cdt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
3cda2df
)
vm-filtering.pipe- test case
33/64333/2
author
Arundathi Patil
<arundpil@in.ibm.com>
Tue, 4 Sep 2018 07:07:42 +0000
(12:37 +0530)
committer
Takamune Cho
<tc012c@att.com>
Tue, 4 Sep 2018 19:02:56 +0000
(19:02 +0000)
Corrected the test case to test the proper condition
Issue-ID: APPC-1064
Change-Id: Icdf24bba4f329399d99b82c60abc5445754f419c
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
src/app/shared/pipes/vm-filtering.pipe.spec.ts
patch
|
blob
|
history
diff --git
a/src/app/shared/pipes/vm-filtering.pipe.spec.ts
b/src/app/shared/pipes/vm-filtering.pipe.spec.ts
index
523abfb
..
3cb269b
100644
(file)
--- a/
src/app/shared/pipes/vm-filtering.pipe.spec.ts
+++ b/
src/app/shared/pipes/vm-filtering.pipe.spec.ts
@@
-43,7
+43,7
@@
describe('VmFilteringPipe', () => {
{action:"Configure","template-id":2,"type":"con"},
{action:"ConfigScaleout","template-id":1,"type":"conScale"}
]
- expect(pipe.transform(objArray,"Config
ScaleOut
",2)[0].type).toBe("con")
+ expect(pipe.transform(objArray,"Config",2)[0].type).toBe("con")
});
});