mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 14:03:06 +00:00
[CST-5674] fix test
This commit is contained in:
@@ -254,6 +254,8 @@ describe('ResourcePolicyFormComponent test suite', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should init form model properly', () => {
|
it('should init form model properly', () => {
|
||||||
|
epersonService.findByHref.and.returnValue(observableOf(undefined));
|
||||||
|
groupService.findByHref.and.returnValue(observableOf(undefined));
|
||||||
spyOn(compAsAny, 'isFormValid').and.returnValue(observableOf(false));
|
spyOn(compAsAny, 'isFormValid').and.returnValue(observableOf(false));
|
||||||
spyOn(compAsAny, 'initModelsValue').and.callThrough();
|
spyOn(compAsAny, 'initModelsValue').and.callThrough();
|
||||||
spyOn(compAsAny, 'buildResourcePolicyForm').and.callThrough();
|
spyOn(compAsAny, 'buildResourcePolicyForm').and.callThrough();
|
||||||
|
Reference in New Issue
Block a user