mirror of
https://github.com/discourse/discourse.git
synced 2026-08-26 21:27:16 -05:00
Don't clear DiscoursePluginRegistry if LOAD_PLUGINS=true.
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user