1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-08 16:41:31 +00:00

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@17674 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2018-12-01 12:35:45 +00:00
parent ffeecd5965
commit 4f5f1f3945

View File

@ -19,7 +19,8 @@ require File.expand_path('../../test_helper', __FILE__)
class VersionTest < ActiveSupport::TestCase
fixtures :projects, :users, :issues, :issue_statuses, :trackers,
:enumerations, :versions, :projects_trackers
:enumerations, :versions, :projects_trackers,
:custom_fields, :custom_fields_trackers, :custom_fields_projects
def test_create
v = Version.new(:project => Project.find(1), :name => '1.1',