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@17739 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/4.1.0
@@ -29,7 +29,8 @@ class SearchCustomFieldsVisibilityTest < Redmine::ControllerTest | |||
:projects_trackers, | |||
:enabled_modules, | |||
:enumerations, | |||
:workflows | |||
:workflows, | |||
:custom_fields, :custom_fields_trackers | |||
def setup | |||
field_attributes = {:field_format => 'string', :is_for_all => true, :is_filter => true, :searchable => true, :trackers => Tracker.all} |