mirror of
https://github.com/redmine/redmine.git
synced 2025-10-29 17:26:23 +01:00
Fix test failures due to custom_fields deletion leaving orphaned custom_values in IssueNestedSetConcurrencyTest (#41881).
Patch by Kenta Kumojima (user:kumojima). git-svn-id: https://svn.redmine.org/redmine/trunk@23319 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -36,7 +36,7 @@ class IssueNestedSetConcurrencyTest < ActiveSupport::TestCase
|
||||
ActiveRecord::Base.establish_connection connection
|
||||
end
|
||||
User.current = nil
|
||||
CustomField.delete_all
|
||||
CustomField.destroy_all
|
||||
end
|
||||
|
||||
def teardown
|
||||
|
||||
Reference in New Issue
Block a user