From: Arundathi Patil Date: Tue, 4 Sep 2018 07:07:42 +0000 (+0530) Subject: vm-filtering.pipe- test case X-Git-Tag: 1.4.0~21 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F33%2F64333%2F2;p=appc%2Fcdt.git vm-filtering.pipe- test case Corrected the test case to test the proper condition Issue-ID: APPC-1064 Change-Id: Icdf24bba4f329399d99b82c60abc5445754f419c Signed-off-by: Arundathi Patil --- 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 --- 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,"ConfigScaleOut",2)[0].type).toBe("con") + expect(pipe.transform(objArray,"Config",2)[0].type).toBe("con") }); });