Commit 18154224 by Torkel Ödegaard

Fixed failing influxdb-datasource test

parent 0d165e67
......@@ -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); }
......
......@@ -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() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment