mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fix process filter test
This commit is contained in:
@@ -77,7 +77,6 @@ describe('ProcessFiltersComponent', () => {
|
|||||||
|
|
||||||
processFilterService = TestBed.get(ProcessFilterService);
|
processFilterService = TestBed.get(ProcessFilterService);
|
||||||
appsProcessService = TestBed.get(AppsProcessService);
|
appsProcessService = TestBed.get(AppsProcessService);
|
||||||
filterList = new ProcessFiltersComponent(processFilterService, appsProcessService);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
afterEach(() => {
|
afterEach(() => {
|
||||||
@@ -318,6 +317,7 @@ describe('ProcessFiltersComponent', () => {
|
|||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should not attach icons for each filter if hasIcon is false', (done) => {
|
it('should not attach icons for each filter if hasIcon is false', (done) => {
|
||||||
spyOn(processFilterService, 'getProcessFilters').and.returnValue(from(fakeGlobalFilterPromise));
|
spyOn(processFilterService, 'getProcessFilters').and.returnValue(from(fakeGlobalFilterPromise));
|
||||||
filterList.showIcon = false;
|
filterList.showIcon = false;
|
||||||
|
Reference in New Issue
Block a user