mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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
|
||||
@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
|
||||
|
Loading…
Reference in New Issue
Block a user