mirror of
https://github.com/discourse/discourse.git
synced 2025-01-31 08:28:46 +08:00
Only remove default locale which is the only column we touch
see: https://meta.discourse.org/t/failing-tests-in-discourse-dev-due-to-multisite/68720/5
This commit is contained in:
parent
c705159d22
commit
04e3526096
|
@ -12,7 +12,7 @@ RSpec.describe 'Multisite SiteSettings' do
|
|||
|
||||
after do
|
||||
['default', 'second'].each do |db|
|
||||
conn.with_connection(db) { SiteSetting.destroy_all }
|
||||
conn.with_connection(db) { SiteSetting.where(name: 'default_locale').destroy_all }
|
||||
end
|
||||
|
||||
conn.clear_settings!
|
||||
|
|
Loading…
Reference in New Issue
Block a user