mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
Honestly i'm going on just for the challenge now'
This commit is contained in:
parent
d8eb1828ee
commit
a7f88b72f2
@ -702,8 +702,6 @@ describe('ContentMetadataComponent', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should load the group properties on node change', () => {
|
it('should load the group properties on node change', () => {
|
||||||
getGroupedPropertiesSpy;
|
|
||||||
|
|
||||||
component.ngOnChanges({ node: new SimpleChange(node, expectedNode, false) });
|
component.ngOnChanges({ node: new SimpleChange(node, expectedNode, false) });
|
||||||
|
|
||||||
expect(contentMetadataService.getGroupedProperties).toHaveBeenCalledWith(expectedNode, 'custom-preset');
|
expect(contentMetadataService.getGroupedProperties).toHaveBeenCalledWith(expectedNode, 'custom-preset');
|
||||||
@ -726,7 +724,6 @@ describe('ContentMetadataComponent', () => {
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
component.preset = presetConfig;
|
component.preset = presetConfig;
|
||||||
getGroupedPropertiesSpy;
|
|
||||||
|
|
||||||
component.ngOnChanges({ node: new SimpleChange(node, expectedNode, false) });
|
component.ngOnChanges({ node: new SimpleChange(node, expectedNode, false) });
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user