vm-filtering.pipe- test case 33/64333/2
authorArundathi Patil <arundpil@in.ibm.com>
Tue, 4 Sep 2018 07:07:42 +0000 (12:37 +0530)
committerTakamune 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

index 523abfb..3cb269b 100644 (file)
@@ -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")
 
     });
 });