Commit dc9a8c4c authored by jplang's avatar jplang

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: https://svn.redmine.org/redmine/trunk@17739 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 1c7b79b3
......@@ -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}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment