diff options
author | Go MAEDA <maeda@farend.jp> | 2024-11-28 10:11:49 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-11-28 10:11:49 +0000 |
commit | 2a2c12f5b00e90d1a5fb42d2bee489cbf892272c (patch) | |
tree | a2af4fc571383383a6578540a0e744c0b36bd922 | |
parent | b383c15720fbc75418847d7289a366a4f3d39cf6 (diff) | |
download | redmine-2a2c12f5b00e90d1a5fb42d2bee489cbf892272c.tar.gz redmine-2a2c12f5b00e90d1a5fb42d2bee489cbf892272c.zip |
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
-rw-r--r-- | test/unit/issue_nested_set_concurrency_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/issue_nested_set_concurrency_test.rb b/test/unit/issue_nested_set_concurrency_test.rb index 87443c548..561252a3d 100644 --- a/test/unit/issue_nested_set_concurrency_test.rb +++ b/test/unit/issue_nested_set_concurrency_test.rb @@ -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 |