DEV: prevents heisentest in processor spec (#12066)

This test failure was caused by rails calling `.debug` on our FakeLogger which was not supporting it, resulting in more errors than what the test was expecting.
This commit is contained in:
Joffrey JAFFEUX 2021-02-12 14:53:36 +01:00 committed by GitHub
parent 900d4187ef
commit 3b874f1b2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -6,6 +6,7 @@ class FakeLogger
def initialize def initialize
@warnings = [] @warnings = []
@errors = [] @errors = []
@debug = []
@infos = [] @infos = []
@fatals = [] @fatals = []
end end
@ -26,6 +27,10 @@ class FakeLogger
@fatals << message @fatals << message
end end
def debug(message)
@debug << message
end
def formatter def formatter
end end
end end