mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
#992 Use the js API and fix unit test
This commit is contained in:
@@ -190,6 +190,7 @@ describe('Test ng2-activiti-analytics Report ', () => {
|
||||
});
|
||||
|
||||
let reportParamQuery = new ReportQuery({status: 'All'});
|
||||
component.reportId = 1;
|
||||
component.showReport(reportParamQuery);
|
||||
|
||||
jasmine.Ajax.requests.mostRecent().respondWith({
|
||||
@@ -214,6 +215,7 @@ describe('Test ng2-activiti-analytics Report ', () => {
|
||||
});
|
||||
|
||||
let reportParamQuery = new ReportQuery({status: 'All'});
|
||||
component.reportId = 1;
|
||||
component.showReport(reportParamQuery);
|
||||
|
||||
jasmine.Ajax.requests.mostRecent().respondWith({
|
||||
|
Reference in New Issue
Block a user