mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-6389] Remove duplicated identity user service mock (#7373)
* [AAE-6389] removed duplicate services and refactored existing * [AAE-6389] improved and moved mocks to proper files * [AAE-6389] fixed circular dependency
This commit is contained in:
@@ -24,20 +24,22 @@ import { IdentityGroupSearchParam } from '../models/identity-group.model';
|
||||
import { HttpErrorResponse } from '@angular/common/http';
|
||||
import { throwError, of } from 'rxjs';
|
||||
import {
|
||||
noRoleMappingApi,
|
||||
mockIdentityRoles,
|
||||
groupsMockApi,
|
||||
roleMappingApi,
|
||||
clientRoles,
|
||||
applicationDetailsMockApi,
|
||||
mockIdentityGroup1,
|
||||
createGroupMappingApi,
|
||||
updateGroupMappingApi,
|
||||
deleteGroupMappingApi,
|
||||
mockIdentityGroupsCount
|
||||
} from '../mock/identity-group.service.mock';
|
||||
} from '../mock/identity-group.mock';
|
||||
import { CoreTestingModule } from '../testing/core.testing.module';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
import {
|
||||
applicationDetailsMockApi,
|
||||
createGroupMappingApi,
|
||||
deleteGroupMappingApi,
|
||||
groupsMockApi,
|
||||
noRoleMappingApi,
|
||||
roleMappingApi,
|
||||
updateGroupMappingApi
|
||||
} from '../mock/oauth2.service.mock';
|
||||
|
||||
describe('IdentityGroupService', () => {
|
||||
let service: IdentityGroupService;
|
||||
|
Reference in New Issue
Block a user