Commit 9cf7a2d2 by Alin Sinpalean

Remove apparently unnecessary .flush() calls.

parent 02d426a2
...@@ -278,10 +278,6 @@ describe('PrometheusDatasource', function() { ...@@ -278,10 +278,6 @@ describe('PrometheusDatasource', function() {
} }
}; };
beforeEach(function() {
ctx.$httpBackend.flush();
});
it('should be min interval when greater than auto interval', function() { it('should be min interval when greater than auto interval', function() {
var query = { var query = {
// 6 hour range // 6 hour range
...@@ -420,10 +416,6 @@ describe('PrometheusDatasource', function() { ...@@ -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() { it('should be unchanged when auto interval is greater than min interval', function() {
var query = { var query = {
// 6 hour range // 6 hour range
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment