diff options
Diffstat (limited to 'test/unit/issue_test.rb')
-rw-r--r-- | test/unit/issue_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/issue_test.rb b/test/unit/issue_test.rb index 40be6b66a..4d2b68663 100644 --- a/test/unit/issue_test.rb +++ b/test/unit/issue_test.rb @@ -1103,7 +1103,7 @@ class IssueTest < ActiveSupport::TestCase end def test_required_custom_field_that_is_not_visible_for_the_user_should_not_be_required - CustomField.delete_all + CustomField.destroy_all field = IssueCustomField.generate!(:is_required => true, :visible => false, :role_ids => [1], :trackers => Tracker.all, :is_for_all => true) user = User.generate! User.add_to_project(user, Project.find(1), Role.find(2)) @@ -1114,7 +1114,7 @@ class IssueTest < ActiveSupport::TestCase end def test_required_custom_field_that_is_visible_for_the_user_should_be_required - CustomField.delete_all + CustomField.destroy_all field = IssueCustomField.generate!(:is_required => true, :visible => false, :role_ids => [1], :trackers => Tracker.all, :is_for_all => true) user = User.generate! User.add_to_project(user, Project.find(1), Role.find(1)) |