mirror of
https://github.com/discourse/discourse.git
synced 2025-06-05 14:07:30 +08:00
Dont call SiteSetting.uncategorized_category_id
twice
This commit is contained in:
@ -77,8 +77,6 @@ Spork.prefork do
|
||||
|
||||
config.before(:all) do
|
||||
DiscoursePluginRegistry.clear
|
||||
uncat_id = SiteSetting.uncategorized_category_id
|
||||
|
||||
Discourse.current_user_provider = TestCurrentUserProvider
|
||||
|
||||
# a bit odd, but this setting is actually preloaded
|
||||
|
Reference in New Issue
Block a user