mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-10 11:33:04 +00:00
angular cli
This commit is contained in:
18
src/app/shared/testing/sections-service.stub.ts
Normal file
18
src/app/shared/testing/sections-service.stub.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
export class SectionsServiceStub {
|
||||
|
||||
checkSectionErrors = jasmine.createSpy('checkSectionErrors');
|
||||
dispatchRemoveSectionErrors = jasmine.createSpy('dispatchRemoveSectionErrors');
|
||||
getSectionData = jasmine.createSpy('getSectionData');
|
||||
getSectionErrors = jasmine.createSpy('getSectionErrors');
|
||||
getSectionState = jasmine.createSpy('getSectionState');
|
||||
isSectionValid = jasmine.createSpy('isSectionValid');
|
||||
isSectionEnabled = jasmine.createSpy('isSectionEnabled');
|
||||
isSectionReadOnly = jasmine.createSpy('isSectionReadOnly');
|
||||
isSectionAvailable = jasmine.createSpy('isSectionAvailable');
|
||||
addSection = jasmine.createSpy('addSection');
|
||||
removeSection = jasmine.createSpy('removeSection');
|
||||
updateSectionData = jasmine.createSpy('updateSectionData');
|
||||
setSectionError = jasmine.createSpy('setSectionError');
|
||||
setSectionStatus = jasmine.createSpy('setSectionStatus');
|
||||
|
||||
}
|
Reference in New Issue
Block a user