mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Don't clear DiscoursePluginRegistry if LOAD_PLUGINS=true.
This commit is contained in:
parent
759c18d9f5
commit
7b46cc0962
@ -76,7 +76,7 @@ Spork.prefork do
|
||||
end
|
||||
|
||||
config.before(:all) do
|
||||
DiscoursePluginRegistry.clear
|
||||
DiscoursePluginRegistry.clear if ENV['LOAD_PLUGINS'] != "true"
|
||||
Discourse.current_user_provider = TestCurrentUserProvider
|
||||
|
||||
# a bit odd, but this setting is actually preloaded
|
||||
|
Loading…
Reference in New Issue
Block a user