vm-filtering pipe- fixed errors in spec 72/92372/2
authorArundathi Patil <arundpil@in.ibm.com>
Wed, 31 Jul 2019 15:19:56 +0000 (20:49 +0530)
committerTakamune Cho <takamune.cho@att.com>
Sat, 3 Aug 2019 17:21:41 +0000 (17:21 +0000)
fixed errors in spec file

Issue-ID: APPC-1632
Change-Id: I945ab9f1be81620d94974e0bcc92fa20d30bfb8a
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
src/app/pipes/vm-filtering.pipe.spec.ts

index f7f0937..d9240da 100644 (file)
@@ -31,11 +31,11 @@ describe('VmFilteringPipe', () => {
 
     it('should return empty list', () => {
         const pipe = new VmFilteringPipe();
-        expect(pipe.transform([{ 'template-id': '321' }], 'ConfigScaleOut', '234')).toEqual([]);
+        expect(pipe.transform([{ 'template-id': '321' }], 'ConfigScaleOut', '234', {})).toEqual([]);
     });
 
     it('should return original list', () => {
         const pipe = new VmFilteringPipe();
-        expect(pipe.transform([{ 'template-id': '321' }], 'Config', '234')).toEqual([{ 'template-id': '321' }]);
+        expect(pipe.transform([{ 'template-id': '321' }], 'Config', '234', {})).toEqual([{ 'template-id': '321' }]);
     });
 });