From b64987d2dd4c4fa21c41d72bbef72b51fb36bd8b Mon Sep 17 00:00:00 2001 From: Marcin Mielnicki <marcin.mielnicki@gmail.com> Date: Wed, 22 Apr 2020 23:58:11 +0200 Subject: [PATCH] Do not log errors in influx tests (#4931) --- core/server/influx-metrics.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/server/influx-metrics.spec.js b/core/server/influx-metrics.spec.js index 9885754fbb..fc472b6bc2 100644 --- a/core/server/influx-metrics.spec.js +++ b/core/server/influx-metrics.spec.js @@ -122,7 +122,7 @@ describe('Influx metrics', function() { describe('sendMetrics', function() { beforeEach(function() { - sinon.spy(log, 'error') + sinon.stub(log, 'error') }) afterEach(function() { log.error.restore() -- GitLab