Fix tests for new trends options

This commit is contained in:
Alexander Zobnin
2017-05-16 12:01:07 +03:00
parent 50d6ffe253
commit ea59983721
3 changed files with 6 additions and 3 deletions

View File

@@ -14,7 +14,8 @@ describe('ZabbixDatasource', () => {
username: 'zabbix',
password: 'zabbix',
trends: true,
trendsFrom: '7d'
trendsFrom: '14d',
trendsRange: '7d'
}
};
ctx.templateSrv = {};

View File

@@ -28,7 +28,8 @@ describe('ZabbixDatasource', function () {
username: 'zabbix',
password: 'zabbix',
trends: true,
trendsFrom: '7d'
trendsFrom: '14d',
trendsRange: '7d'
}
};
ctx.templateSrv = {};

View File

@@ -14,7 +14,8 @@ describe('ZabbixDatasource', () => {
username: 'zabbix',
password: 'zabbix',
trends: true,
trendsFrom: '7d'
trendsFrom: '14d',
trendsRange: '7d'
}
};
ctx.templateSrv = {};