Remove apparently unnecessary .flush() calls.

This commit is contained in:
Alin Sinpalean 2017-10-04 16:23:24 +02:00
parent 02d426a2d4
commit 9cf7a2d2ed

View File

@ -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