From 6e5e1659ffed54fab4b1c8a86fcc74440aa6e9b8 Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Tue, 4 Sep 2018 12:37:42 +0530 Subject: 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 --- src/app/shared/pipes/vm-filtering.pipe.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") }); }); -- cgit 1.2.3-korg