mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-01 03:57:15 +00: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:
parent
b383c15720
commit
2a2c12f5b0
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user