mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2238] removed created by property
This commit is contained in:
@@ -114,16 +114,6 @@ describe('TaskHeaderComponent', () => {
|
||||
|
||||
}));
|
||||
|
||||
it('should display created-by', async(() => {
|
||||
component.refreshData();
|
||||
fixture.detectChanges();
|
||||
|
||||
fixture.whenStable().then(() => {
|
||||
let formNameEl = fixture.debugElement.query(By.css('[data-automation-id="header-created-by"] .adf-property-value'));
|
||||
expect(formNameEl.nativeElement.innerText).toBe('Wilbur Adams');
|
||||
});
|
||||
}));
|
||||
|
||||
it('should display priority', async(() => {
|
||||
component.taskDetails.priority = 27;
|
||||
component.refreshData();
|
||||
|
@@ -124,13 +124,6 @@ export class TaskHeaderComponent implements OnChanges, OnInit {
|
||||
clickable: true
|
||||
}
|
||||
),
|
||||
new CardViewTextItemModel(
|
||||
{
|
||||
label: 'ADF_TASK_LIST.PROPERTIES.CREATED_BY',
|
||||
value: this.taskDetails.getFullName(),
|
||||
key: 'created-by'
|
||||
}
|
||||
),
|
||||
new CardViewDateItemModel(
|
||||
{
|
||||
label: 'ADF_TASK_LIST.PROPERTIES.CREATED',
|
||||
|
Reference in New Issue
Block a user