[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:
davidcanonieto
2019-10-21 11:18:55 +01:00
committed by Eugenio Romano
parent f2c1778eda
commit 2a033507b3
6 changed files with 14 additions and 69 deletions
@@ -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
}
]
}