diff --git a/public/app/plugins/panel/graph/specs/time_region_manager.test.ts b/public/app/plugins/panel/graph/specs/time_region_manager.test.ts index 00c5354c496..72ad92402e8 100644 --- a/public/app/plugins/panel/graph/specs/time_region_manager.test.ts +++ b/public/app/plugins/panel/graph/specs/time_region_manager.test.ts @@ -13,9 +13,7 @@ describe('TimeRegionManager', () => { }, panelCtrl: { range: {}, - dashboard: { - isTimezoneUtc: () => false, - }, + dashboard: {}, }, }; diff --git a/public/test/specs/helpers.ts b/public/test/specs/helpers.ts index 243d8ac07a3..2c2008b88c3 100644 --- a/public/test/specs/helpers.ts +++ b/public/test/specs/helpers.ts @@ -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();