mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fixed failing influxdb-datasource test
This commit is contained in:
parent
0d165e67c9
commit
181542249d
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user