From 3e2aee1ee76da2e9bf77c27eac792ffa80789ff7 Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Wed, 31 Jul 2019 20:49:56 +0530 Subject: vm-filtering pipe- fixed errors in spec fixed errors in spec file Issue-ID: APPC-1632 Change-Id: I945ab9f1be81620d94974e0bcc92fa20d30bfb8a Signed-off-by: Arundathi Patil --- src/app/pipes/vm-filtering.pipe.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/app') diff --git a/src/app/pipes/vm-filtering.pipe.spec.ts b/src/app/pipes/vm-filtering.pipe.spec.ts index f7f0937..d9240da 100644 --- a/src/app/pipes/vm-filtering.pipe.spec.ts +++ b/src/app/pipes/vm-filtering.pipe.spec.ts @@ -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' }]); }); }); -- cgit 1.2.3-korg