mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-12 20:43:08 +00:00
Merge branch 'main' into w2p-87382_circular-dependency-fixes
This commit is contained in:
@@ -20,7 +20,11 @@ import {
|
||||
END_USER_AGREEMENT_METADATA_FIELD,
|
||||
EndUserAgreementService
|
||||
} from '../../core/end-user-agreement/end-user-agreement.service';
|
||||
import { createFailedRemoteDataObject$, createSuccessfulRemoteDataObject$ } from '../../shared/remote-data.utils';
|
||||
import {
|
||||
createFailedRemoteDataObject$,
|
||||
createSuccessfulRemoteDataObject,
|
||||
createSuccessfulRemoteDataObject$
|
||||
} from '../../shared/remote-data.utils';
|
||||
import { CoreState } from '../../core/core-state.model';
|
||||
|
||||
describe('CreateProfileComponent', () => {
|
||||
@@ -106,7 +110,7 @@ describe('CreateProfileComponent', () => {
|
||||
};
|
||||
epersonWithAgreement = Object.assign(new EPerson(), valuesWithAgreement);
|
||||
|
||||
route = {data: observableOf({registration: registration})};
|
||||
route = {data: observableOf({registration: createSuccessfulRemoteDataObject(registration)})};
|
||||
router = new RouterStub();
|
||||
notificationsService = new NotificationsServiceStub();
|
||||
|
||||
|
Reference in New Issue
Block a user