mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 05:53:03 +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', () => {
|
||||
epersonService.findByHref.and.returnValue(observableOf(undefined));
|
||||
groupService.findByHref.and.returnValue(observableOf(undefined));
|
||||
spyOn(compAsAny, 'isFormValid').and.returnValue(observableOf(false));
|
||||
spyOn(compAsAny, 'initModelsValue').and.callThrough();
|
||||
spyOn(compAsAny, 'buildResourcePolicyForm').and.callThrough();
|
||||
|
Reference in New Issue
Block a user