mirror of
https://github.com/grafana/grafana.git
synced 2025-01-04 13:17:16 -06:00
Dashboard: Remove isTimezoneUtc (#24754)
This commit is contained in:
parent
2b23f81929
commit
9622536a98
@ -13,9 +13,7 @@ describe('TimeRegionManager', () => {
|
||||
},
|
||||
panelCtrl: {
|
||||
range: {},
|
||||
dashboard: {
|
||||
isTimezoneUtc: () => false,
|
||||
},
|
||||
dashboard: {},
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -57,9 +57,6 @@ export function ControllerTestContext(this: any) {
|
||||
self.dashboard.getTimezone = () => {
|
||||
return self.isUtc ? 'utc' : 'browser';
|
||||
};
|
||||
self.dashboard.isTimezoneUtc = () => {
|
||||
return self.isUtc;
|
||||
};
|
||||
|
||||
$rootScope.appEvent = sinon.spy();
|
||||
$rootScope.onAppEvent = sinon.spy();
|
||||
|
Loading…
Reference in New Issue
Block a user