From: Arundathi Patil Date: Wed, 4 Sep 2019 10:46:10 +0000 (+0530) Subject: alarm component spec changes X-Git-Tag: 2.0.2~152^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=0ec938b6fef9bee86b845416d6649e6cbe84c492;p=usecase-ui.git alarm component spec changes Fixed erros in this file Issue-ID: USECASEUI-280 Change-Id: I4f295cc94d376daed30cff5134ce31a18a5ed0b7 Signed-off-by: Arundathi Patil --- 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: []}}); }) ); });