mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[ACS-5645]code modification
This commit is contained in:
committed by
Anukriti Singh
parent
92fb997bb0
commit
7750bcb9d5
+1
-1
@@ -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(' ');
|
||||
|
||||
|
||||
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user