diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2018-09-23 11:57:38 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2018-09-23 11:57:38 +0000 |
commit | 5fbe5d74bc07e55130005ac2200d568f98fd5aa2 (patch) | |
tree | 52e285b0093056429fb36e373da3a527508fbaba /test/unit/issue_test.rb | |
parent | 7dc4e35bc8fbdcc4ebb7bcc1d8822f78f5cf3b41 (diff) | |
download | redmine-5fbe5d74bc07e55130005ac2200d568f98fd5aa2.tar.gz redmine-5fbe5d74bc07e55130005ac2200d568f98fd5aa2.zip |
Test failures with sqlite3.
git-svn-id: http://svn.redmine.org/redmine/trunk@17502 e93f8b46-1217-0410-a6f0-8f06a7374b81
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)) |