Merge pull request #15215 from thatsparesh/13324-mssql-pass-timerange-for-template-variable-queries

mssql: pass timerange for template variable queries
This commit is contained in:
Marcus Efraimsson
2019-02-11 08:36:47 +01:00
committed by GitHub
3 changed files with 56 additions and 7 deletions

View File

@@ -143,7 +143,7 @@ export function DashboardViewStateStub(this: any) {
}
export function TimeSrvStub(this: any) {
this.init = sinon.spy();
this.init = () => {};
this.time = { from: 'now-1h', to: 'now' };
this.timeRange = function(parse) {
if (parse === false) {