From 2a2c12f5b00e90d1a5fb42d2bee489cbf892272c Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Thu, 28 Nov 2024 10:11:49 +0000 Subject: 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 --- test/unit/issue_nested_set_concurrency_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/unit/issue_nested_set_concurrency_test.rb') 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 -- cgit v1.2.3