alarm component spec changes 14/94914/1
authorArundathi Patil <arundpil@in.ibm.com>
Wed, 4 Sep 2019 10:46:10 +0000 (16:16 +0530)
committerArundathi Patil <arundpil@in.ibm.com>
Wed, 4 Sep 2019 10:46:16 +0000 (16:16 +0530)
Fixed erros in this file

Issue-ID: USECASEUI-280
Change-Id: I4f295cc94d376daed30cff5134ce31a18a5ed0b7
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
usecaseui-portal/src/app/views/alarm/alarm.component.spec.ts

index 9f01597..8276e42 100644 (file)
@@ -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: []}});
       })
   );
 });