From: Jean-Philippe Lang Date: Sat, 11 Dec 2010 10:47:00 +0000 (+0000) Subject: Fixes duplicate custom_values fixture that caused failure with Postgresql. X-Git-Tag: 1.1.0~108 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=67f1131a2051b03c8214ce82dcc2051e0e9871a2;p=redmine.git Fixes duplicate custom_values fixture that caused failure with Postgresql. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4488 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/fixtures/custom_values.yml b/test/fixtures/custom_values.yml index 58288b39f..d0dfe3a55 100644 --- a/test/fixtures/custom_values.yml +++ b/test/fixtures/custom_values.yml @@ -50,7 +50,7 @@ custom_values_008: custom_values_009: customized_type: Issue custom_field_id: 2 - customized_id: 3 + customized_id: 7 id: 9 value: "this is a stringforcustomfield search" custom_values_010: diff --git a/test/functional/search_controller_test.rb b/test/functional/search_controller_test.rb index cb87114d8..ea29daf0f 100644 --- a/test/functional/search_controller_test.rb +++ b/test/functional/search_controller_test.rb @@ -83,7 +83,7 @@ class SearchControllerTest < ActionController::TestCase results = assigns(:results) assert_not_nil results assert_equal 1, results.size - assert results.include?(Issue.find(3)) + assert results.include?(Issue.find(7)) end def test_search_all_words