Dashboard: Remove isTimezoneUtc (#24754)

This commit is contained in:
Ryan McKinley
2020-05-18 10:21:21 +02:00
committed by GitHub
parent 2b23f81929
commit 9622536a98
2 changed files with 1 additions and 6 deletions
@@ -13,9 +13,7 @@ describe('TimeRegionManager', () => {
},
panelCtrl: {
range: {},
dashboard: {
isTimezoneUtc: () => false,
},
dashboard: {},
},
};
-3
View File
@@ -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();