Skip to content

Commit b72d3a4

Browse files
committed
don't cleanup site settings in tests as there are fixtures
1 parent b72d7e3 commit b72d3a4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

db/seeds.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,8 @@ def cleanup_posts
217217
end
218218

219219
def cleanup_site_settings
220+
return if Rails.env.test?
221+
220222
to_remove = []
221223

222224
$site_settings_map.each do |community_id, names|

0 commit comments

Comments
 (0)