Commit f5e8f933 by Torkel Ödegaard

Fixed test failing in chrome

parent 7be2105f
...@@ -95,7 +95,7 @@ define([ ...@@ -95,7 +95,7 @@ define([
beforeEach(module('grafana.services')); beforeEach(module('grafana.services'));
beforeEach(inject(function(dashboardSrv) { beforeEach(inject(function(dashboardSrv) {
model = dashboardSrv.create({ model = dashboardSrv.create({
services: { filter: { time: { from: 'now-1d', to: 'now'}, list: [1] }}, services: { filter: { time: { from: 'now-1d', to: 'now'}, list: [{}] }},
pulldowns: [ pulldowns: [
{ {
type: 'filtering', type: 'filtering',
...@@ -135,7 +135,7 @@ define([ ...@@ -135,7 +135,7 @@ define([
it('should move time and filtering list', function() { it('should move time and filtering list', function() {
expect(model.time.from).to.be('now-1d'); expect(model.time.from).to.be('now-1d');
expect(model.templating.list[0]).to.be(1); expect(model.templating.list[0].allFormat).to.be('glob');
}); });
it('graphite panel should change name too graph', function() { it('graphite panel should change name too graph', 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