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:
parent
900d4187ef
commit
3b874f1b2d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue