Dashboard: Remove isTimezoneUtc (#24754)

pull/24793/head
Ryan McKinley 5 years ago committed by GitHub
parent 2b23f81929
commit 9622536a98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      public/app/plugins/panel/graph/specs/time_region_manager.test.ts
  2. 3
      public/test/specs/helpers.ts

@ -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…
Cancel
Save