mirror of
https://github.com/redmine/redmine.git
synced 2025-11-01 10:56:17 +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
|
ActiveRecord::Base.establish_connection connection
|
||||||
end
|
end
|
||||||
User.current = nil
|
User.current = nil
|
||||||
CustomField.delete_all
|
CustomField.destroy_all
|
||||||
end
|
end
|
||||||
|
|
||||||
def teardown
|
def teardown
|
||||||
|
|||||||
Reference in New Issue
Block a user