mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 12:57:17 +08:00
FIX: Requests were not being logged correctly
`enable` was defaulting to `nil` which is not what we wanted.
This commit is contained in:
@ -128,6 +128,9 @@ module TestSetup
|
||||
# code that runs inside jobs. run_later! means they are put on the redis
|
||||
# queue and never processed.
|
||||
Jobs.run_later!
|
||||
|
||||
# Don't track ApplicationRequests in test mode unless opted in
|
||||
ApplicationRequest.disable
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user