Fixed failing influxdb-datasource test

This commit is contained in:
Torkel Ödegaard 2015-02-18 16:09:17 +01:00
parent 0d165e67c9
commit 181542249d
2 changed files with 1 additions and 6 deletions

View File

@ -46,11 +46,6 @@ function (_) {
// return datasource;
// };
//
// var parseMultipleHosts = function(datasource) {
// datasource.urls = _.map(datasource.url.split(","), function (url) { return url.trim(); });
// return datasource;
// };
//
// _.each(settings.datasources, function(datasource, key) {
// datasource.name = key;
// if (datasource.url) { parseBasicAuth(datasource); }

View File

@ -11,7 +11,7 @@ define([
beforeEach(ctx.providePhase(['templateSrv']));
beforeEach(ctx.createService('InfluxDatasource'));
beforeEach(function() {
ctx.ds = new ctx.service({ urls: [''], user: 'test', password: 'mupp' });
ctx.ds = new ctx.service({ url: '', user: 'test', password: 'mupp' });
});
describe('When querying influxdb with one target using query editor target spec', function() {