From 0ec938b6fef9bee86b845416d6649e6cbe84c492 Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Wed, 4 Sep 2019 16:16:10 +0530 Subject: alarm component spec changes Fixed erros in this file Issue-ID: USECASEUI-280 Change-Id: I4f295cc94d376daed30cff5134ce31a18a5ed0b7 Signed-off-by: Arundathi Patil --- usecaseui-portal/src/app/views/alarm/alarm.component.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usecaseui-portal/src/app/views') 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: []}}); }) ); }); -- cgit 1.2.3-korg