[ACS-5645]code modification

This commit is contained in:
Yasa-Nataliya
2023-10-13 16:28:58 +05:30
committed by Anukriti Singh
parent 92fb997bb0
commit 7750bcb9d5
2 changed files with 1 additions and 2 deletions
@@ -324,7 +324,7 @@ describe('CategoriesManagementComponent', () => {
it('should have no required validator set for category control', () => {
expect(component.categoryNameControl.hasValidator(Validators.required)).toBeFalse();
});
it('should display validation error when searching for empty category', fakeAsync(() => {
typeCategory(' ');
@@ -1153,7 +1153,6 @@ describe('ContentMetadataComponent', () => {
it('should render tags after loading tags in ngOnInit', () => {
spyOn(tagService, 'getTagsByNodeId').and.returnValue(of(tagPaging));
component.ngOnInit();
fixture.whenStable();
fixture.detectChanges();
const tagElements = findTagElements();
expect(tagElements).toHaveSize(2);