mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-13 21:13:07 +00:00
[835] Auto-save in new Item Submission form breaks the form
Minor changes and cleanup.
This commit is contained in:
@@ -164,12 +164,12 @@ describe('SubmissionFormFooterComponent Component', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('should call dispatchManualSave on save', () => {
|
||||
it('should call dispatchSave on save', () => {
|
||||
|
||||
comp.save(null);
|
||||
fixture.detectChanges();
|
||||
|
||||
expect(submissionServiceStub.dispatchManualSave).toHaveBeenCalledWith(submissionId);
|
||||
expect(submissionServiceStub.dispatchSave).toHaveBeenCalledWith(submissionId, true);
|
||||
});
|
||||
|
||||
it('should call dispatchSaveForLater on save for later', () => {
|
||||
|
Reference in New Issue
Block a user