diff options
author | Arundathi Patil <arundpil@in.ibm.com> | 2019-09-04 16:16:10 +0530 |
---|---|---|
committer | Arundathi Patil <arundpil@in.ibm.com> | 2019-09-04 16:16:16 +0530 |
commit | 0ec938b6fef9bee86b845416d6649e6cbe84c492 (patch) | |
tree | 3046df0fbec9b07276039e2f8d145a48b2858780 /usecaseui-portal/src/app/views/alarm/alarm.component.spec.ts | |
parent | ec06b7c5fbaba86c367b7ea6e6c4262e4e50596b (diff) |
alarm component spec changes
Fixed erros in this file
Issue-ID: USECASEUI-280
Change-Id: I4f295cc94d376daed30cff5134ce31a18a5ed0b7
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'usecaseui-portal/src/app/views/alarm/alarm.component.spec.ts')
-rw-r--r-- | usecaseui-portal/src/app/views/alarm/alarm.component.spec.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usecaseui-portal/src/app/views/alarm/alarm.component.spec.ts b/usecaseui-portal/src/app/views/alarm/alarm.component.spec.ts index 9f01597e..8276e423 100644 --- a/usecaseui-portal/src/app/views/alarm/alarm.component.spec.ts +++ b/usecaseui-portal/src/app/views/alarm/alarm.component.spec.ts @@ -60,7 +60,7 @@ fdescribe('AlarmComponent', () => { const req = httpMock.expectOne('http://.../data/contacts'); expect(req.request.method).toEqual('GET'); // Then we set the fake data to be returned by the mock - req.flush({ data: ...}); + req.flush({ data: {pageInfo: {totalRecordCount: 21, pageNumber: 0}, data: []}}); }) ); }); |