[835] Auto-save in new Item Submission form breaks the form

Methods renaming
This commit is contained in:
Alessandro Martelli
2020-12-15 10:35:55 +01:00
parent 0794c50d19
commit 451881ef08
7 changed files with 10 additions and 10 deletions

View File

@@ -225,7 +225,7 @@ describe('SubmissionFormFooterComponent Component', () => {
});
it('should disable save button when all modifications had been saved', () => {
comp.hasNotSavedModification = observableOf(false);
comp.hasUnsavedModification = observableOf(false);
fixture.detectChanges();
const saveBtn: any = fixture.debugElement.query(By.css('#save'));
@@ -233,7 +233,7 @@ describe('SubmissionFormFooterComponent Component', () => {
});
it('should enable save button when there are not saved modifications', () => {
comp.hasNotSavedModification = observableOf(true);
comp.hasUnsavedModification = observableOf(true);
fixture.detectChanges();
const saveBtn: any = fixture.debugElement.query(By.css('#save'));