mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[ACS-8001] fix test
This commit is contained in:
committed by
Mykyta Maliarchuk
parent
195e0e018c
commit
7c4107b3a7
+1
-4
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user