Changed to use TestBed.inject method instead of deprecated TestBed.get

This commit is contained in:
Giuseppe Digilio
2020-11-20 15:21:34 +01:00
parent 32dc9a80a6
commit 79285b203b
80 changed files with 2269 additions and 2635 deletions

View File

@@ -1,9 +1,8 @@
import { EPerson } from '../../core/eperson/models/eperson.model';
import { GroupMock } from './group-mock';
export const EPersonMock: EPerson = Object.assign(new EPerson(), {
handle: null,
groups: [GroupMock],
groups: [],
netid: 'test@test.com',
lastActive: '2018-05-14T12:25:42.411+0000',
canLogIn: true,