summaryrefslogtreecommitdiffstats
path: root/test/functional/context_menus_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2018-12-01 12:33:57 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2018-12-01 12:33:57 +0000
commitffeecd5965c6f8f5628bf0a2bc175224b58ec5ee (patch)
tree57114fdfffdc440c70a33458a9ccee46391e804b /test/functional/context_menus_controller_test.rb
parent78a15a23b418ff0cafb5c88bc775c17c1726e156 (diff)
downloadredmine-ffeecd5965c6f8f5628bf0a2bc175224b58ec5ee.tar.gz
redmine-ffeecd5965c6f8f5628bf0a2bc175224b58ec5ee.zip
Tests 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@17673 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/context_menus_controller_test.rb')
-rw-r--r--test/functional/context_menus_controller_test.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/context_menus_controller_test.rb b/test/functional/context_menus_controller_test.rb
index 60ffdb819..aeaf7391a 100644
--- a/test/functional/context_menus_controller_test.rb
+++ b/test/functional/context_menus_controller_test.rb
@@ -31,7 +31,8 @@ class ContextMenusControllerTest < Redmine::ControllerTest
:issues, :issue_statuses, :issue_categories,
:users,
:enumerations,
- :time_entries
+ :time_entries,
+ :custom_fields, :custom_fields_trackers, :custom_fields_projects
def test_context_menu_one_issue
@request.session[:user_id] = 2