mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[AAE-485] Fix card view int item validator (#5135)
* [AAE-485] Fix card view int item validator * Improve code * Fix unit tests * Remove outdated test * Fix login of int validator * Fix e2e test * fix linting
This commit is contained in:
committed by
Eugenio Romano
parent
f2c1778eda
commit
2a033507b3
+1
-1
@@ -83,7 +83,7 @@ describe('ContentMetadataCardComponent', () => {
|
||||
expect(contentMetadataComponent.preset).toBe(preset);
|
||||
});
|
||||
|
||||
it('should pass through the preset to the underlying component', () => {
|
||||
it('should pass through the displayEmpty to the underlying component', () => {
|
||||
component.displayEmpty = true;
|
||||
fixture.detectChanges();
|
||||
const contentMetadataComponent = fixture.debugElement.query(By.directive(ContentMetadataComponent)).componentInstance;
|
||||
|
||||
@@ -32,7 +32,7 @@ export const mockGroupProperties = [
|
||||
'multiline': false,
|
||||
'pipes': [],
|
||||
'clickCallBack': null,
|
||||
displayValue: 400
|
||||
'displayValue': 400
|
||||
},
|
||||
{
|
||||
'label': 'Image Height',
|
||||
@@ -47,7 +47,7 @@ export const mockGroupProperties = [
|
||||
'multiline': false,
|
||||
'pipes': [],
|
||||
'clickCallBack': null,
|
||||
displayValue: 400
|
||||
'displayValue': 400
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -67,7 +67,7 @@ export const mockGroupProperties = [
|
||||
'multiline': false,
|
||||
'pipes': [],
|
||||
'clickCallBack': null,
|
||||
displayValue: 400
|
||||
'displayValue': 400
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user