Skip to content

Commit

Permalink
ACS-6085 Removed redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksanderSklorz committed Oct 12, 2023
1 parent 52367af commit 1fe7f39
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -333,13 +333,6 @@ describe('LibraryMetadataFormComponent', () => {
expect(component.titleErrorTranslationKey).toBe('LIBRARY.ERRORS.ONLY_SPACES');
});

it('should set proper titleErrorTranslationKey when there is error for required', () => {
component.ngOnInit();

component.form.controls.title.setValue('');
expect(component.titleErrorTranslationKey).toBe('LIBRARY.ERRORS.TITLE_TOO_LONG');
});

it('should set proper titleErrorTranslationKey when there is error for too long title', () => {
component.ngOnInit();

Expand Down

0 comments on commit 1fe7f39

Please sign in to comment.