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

View File

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