diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-12-11 10:47:00 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-12-11 10:47:00 +0000 |
commit | 67f1131a2051b03c8214ce82dcc2051e0e9871a2 (patch) | |
tree | 0b8f993f0ac1c20b6a67c31808bee2b85c9487b0 /test | |
parent | f2b42237d09e7b23dead7b7a4b724102e3eb224c (diff) | |
download | redmine-67f1131a2051b03c8214ce82dcc2051e0e9871a2.tar.gz redmine-67f1131a2051b03c8214ce82dcc2051e0e9871a2.zip |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/fixtures/custom_values.yml | 2 | ||||
-rw-r--r-- | test/functional/search_controller_test.rb | 2 |
2 files changed, 2 insertions, 2 deletions
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 |