Fix tests after merging alerting

This commit is contained in:
Alexander Zobnin
2017-03-28 19:44:31 +03:00
parent 9162210fc7
commit 59fa345927
15 changed files with 96 additions and 21 deletions

View File

@@ -34,9 +34,10 @@ describe('ZabbixDatasource', function () {
ctx.templateSrv = {};
ctx.alertSrv = {};
ctx.dashboardSrv = {};
ctx.zabbixAlertingSrv = {};
ctx.zabbix = function () {};
ctx.ds = new _module.Datasource(ctx.instanceSettings, ctx.templateSrv, ctx.alertSrv, ctx.dashboardSrv, ctx.zabbix);
ctx.ds = new _module.Datasource(ctx.instanceSettings, ctx.templateSrv, ctx.alertSrv, ctx.dashboardSrv, ctx.zabbixAlertingSrv, ctx.zabbix);
ctx.ds.alertQuery = function () {
return _q2.default.when([]);
};