summaryrefslogtreecommitdiffstats
path: root/test/functional/issues_custom_fields_visibility_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2018-12-09 08:38:58 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2018-12-09 08:38:58 +0000
commit27b6e595f7ca6b3e66cb43c2683a4fcdb5927690 (patch)
treeddff85ab924c7e89da808643405e54f905585014 /test/functional/issues_custom_fields_visibility_test.rb
parent5550cbbd01134aac1d67cc20255eabd564b32e72 (diff)
downloadredmine-27b6e595f7ca6b3e66cb43c2683a4fcdb5927690.tar.gz
redmine-27b6e595f7ca6b3e66cb43c2683a4fcdb5927690.zip
Test failure with SQLite3.
ActiveRecord::RecordNotUnique: SQLite3::ConstraintException: UNIQUE constraint failed: custom_fields_trackers.custom_field_id, custom_fields_trackers.tracker_id: INSERT INTO "custom_fields_trackers" ("custom_field_id", "tracker_id") VALUES (?, ?) git-svn-id: http://svn.redmine.org/redmine/trunk@17718 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/issues_custom_fields_visibility_test.rb')
-rw-r--r--test/functional/issues_custom_fields_visibility_test.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/issues_custom_fields_visibility_test.rb b/test/functional/issues_custom_fields_visibility_test.rb
index bdfdbb0ca..b1a666706 100644
--- a/test/functional/issues_custom_fields_visibility_test.rb
+++ b/test/functional/issues_custom_fields_visibility_test.rb
@@ -29,7 +29,8 @@ class IssuesCustomFieldsVisibilityTest < Redmine::ControllerTest
:projects_trackers,
:enabled_modules,
:enumerations,
- :workflows
+ :workflows,
+ :custom_fields, :custom_fields_trackers
def setup
CustomField.destroy_all