[ACS-8001] fix test

This commit is contained in:
Mykyta Maliarchuk
2024-07-30 09:39:42 +02:00
committed by Mykyta Maliarchuk
parent 195e0e018c
commit 7c4107b3a7
@@ -819,8 +819,6 @@ describe('ContentMetadataComponent', () => {
});
it('should hide card views group when the grouped properties are empty', async () => {
getGroupedPropertiesSpy.and.stub();
component.ngOnChanges({ node: new SimpleChange(node, expectedNode, false) });
fixture.detectChanges();
@@ -832,8 +830,6 @@ describe('ContentMetadataComponent', () => {
it('should display card views group when there is at least one property that is not empty', async () => {
component.expanded = true;
getGroupedPropertiesSpy.and.stub();
component.ngOnChanges({ node: new SimpleChange(node, expectedNode, false) });
fixture.detectChanges();
@@ -1022,6 +1018,7 @@ describe('ContentMetadataComponent', () => {
component.expanded = true;
component.preset = 'default';
getGroupedPropertiesSpy.and.callThrough();
getBasicPropertiesSpy.and.callThrough();
});
it('should show Versionable with given content-metadata config', async () => {