File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { Audit } from '@dspace/core/audit/model/audit.model' ;
22import { EPerson } from '@dspace/core/eperson/models/eperson.model' ;
3+ import { DSpaceObject } from '@dspace/core/shared/dspace-object.model' ;
4+ import { createSuccessfulRemoteDataObject$ } from '@dspace/core/utilities/remote-data.utils' ;
35
46export const AuditEPersonMock : EPerson = Object . assign ( new EPerson ( ) , {
57 handle : null ,
@@ -54,8 +56,10 @@ export const AuditMock: Audit = Object.assign(new Audit(), {
5456 id : '6fcd7329-8439-4492-bb72-0a4240b52da8' ,
5557 objectType : 'ITEM' ,
5658 objectUUID : 'objectUUID' ,
59+ object : createSuccessfulRemoteDataObject$ ( new DSpaceObject ( ) ) ,
5760 subjectType : 'ITEM' ,
5861 subjectUUID : '3a74fe2c-d353-4e33-9887-d50184662dd4' ,
62+ subject : createSuccessfulRemoteDataObject$ ( new DSpaceObject ( ) ) ,
5963 timeStamp : '2020-11-13T10:41:06.223+0000' ,
6064 epersonName : AuditEPersonMock . name ,
6165 type : 'auditevent' ,
You can’t perform that action at this time.
0 commit comments