summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2018-12-01 12:35:45 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2018-12-01 12:35:45 +0000
commit4f5f1f394537d2b91a156310d6b2d41a9437df73 (patch)
tree9a4dab4d54b1d117fcb3d0235c58265bc7a42375 /test
parentffeecd5965c6f8f5628bf0a2bc175224b58ec5ee (diff)
downloadredmine-4f5f1f394537d2b91a156310d6b2d41a9437df73.tar.gz
redmine-4f5f1f394537d2b91a156310d6b2d41a9437df73.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@17674 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/unit/version_test.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/version_test.rb b/test/unit/version_test.rb
index 40014375a..b05096067 100644
--- a/test/unit/version_test.rb
+++ b/test/unit/version_test.rb
@@ -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',