mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fixed setTime should disable refresh test
- init with dashboard mock
This commit is contained in:
parent
00e1a1c442
commit
ed76d718cd
@ -63,6 +63,7 @@ define([
|
||||
|
||||
describe('setTime', function() {
|
||||
it('should return disable refresh for absolute times', function() {
|
||||
_filterSrv.init( _dashboard );
|
||||
_dashboard.current.refresh = true;
|
||||
|
||||
_filterSrv.setTime({from: '2011-01-01', to: '2015-01-01' });
|
||||
|
Loading…
Reference in New Issue
Block a user