Fixed setTime should disable refresh test
- init with dashboard mock
This commit is contained in:
1 parent
00e1a1c442
commit
ed76d718cd
1 file changed
+1
@@ -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' });
|
||||
|
||||
Reference in new issue
Block a user