From 9cf7a2d2ed42b746c9730461470a2d2599cfc2ee Mon Sep 17 00:00:00 2001 From: Alin Sinpalean Date: Wed, 4 Oct 2017 16:23:24 +0200 Subject: [PATCH] Remove apparently unnecessary .flush() calls. --- .../datasource/prometheus/specs/datasource_specs.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/public/app/plugins/datasource/prometheus/specs/datasource_specs.ts b/public/app/plugins/datasource/prometheus/specs/datasource_specs.ts index a6e7f480f88..702ad8b5990 100644 --- a/public/app/plugins/datasource/prometheus/specs/datasource_specs.ts +++ b/public/app/plugins/datasource/prometheus/specs/datasource_specs.ts @@ -278,10 +278,6 @@ describe('PrometheusDatasource', function() { } }; - beforeEach(function() { - ctx.$httpBackend.flush(); - }); - it('should be min interval when greater than auto interval', function() { var query = { // 6 hour range @@ -420,10 +416,6 @@ describe('PrometheusDatasource', function() { } }; - beforeEach(function() { - ctx.$httpBackend.flush(); - }); - it('should be unchanged when auto interval is greater than min interval', function() { var query = { // 6 hour range