mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
Don't clear DiscoursePluginRegistry if LOAD_PLUGINS=true.
This commit is contained in:
parent
759c18d9f5
commit
7b46cc0962
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ Spork.prefork do
|
||||||
end
|
end
|
||||||
|
|
||||||
config.before(:all) do
|
config.before(:all) do
|
||||||
DiscoursePluginRegistry.clear
|
DiscoursePluginRegistry.clear if ENV['LOAD_PLUGINS'] != "true"
|
||||||
Discourse.current_user_provider = TestCurrentUserProvider
|
Discourse.current_user_provider = TestCurrentUserProvider
|
||||||
|
|
||||||
# a bit odd, but this setting is actually preloaded
|
# a bit odd, but this setting is actually preloaded
|
||||||
|
|
Loading…
Reference in a new issue