diff options
author | Arundathi Patil <arundpil@in.ibm.com> | 2019-07-31 20:49:56 +0530 |
---|---|---|
committer | Takamune Cho <takamune.cho@att.com> | 2019-08-03 17:21:41 +0000 |
commit | 3e2aee1ee76da2e9bf77c27eac792ffa80789ff7 (patch) | |
tree | db8f51d4466c3979dfc0b61532c58dab6259326d /src | |
parent | 42cceaedeae20bf7ccea6b69dc6c72689c1c371d (diff) |
vm-filtering pipe- fixed errors in spec
fixed errors in spec file
Issue-ID: APPC-1632
Change-Id: I945ab9f1be81620d94974e0bcc92fa20d30bfb8a
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/app/pipes/vm-filtering.pipe.spec.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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' }]); }); }); |