Dashboard: Remove isTimezoneUtc (#24754)

This commit is contained in:
Ryan McKinley 2020-05-18 01:21:21 -07:00 committed by GitHub
parent 2b23f81929
commit 9622536a98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 6 deletions

View File

@ -13,9 +13,7 @@ describe('TimeRegionManager', () => {
},
panelCtrl: {
range: {},
dashboard: {
isTimezoneUtc: () => false,
},
dashboard: {},
},
};

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();