]> source.dussan.org Git - redmine.git/commitdiff
Fixed assertion (#19368).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 14 Mar 2015 12:13:37 +0000 (12:13 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 14 Mar 2015 12:13:37 +0000 (12:13 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@14087 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/integration/api_test/issues_test.rb

index 344962a5b24c1d3b5ff6e1afb7e4dffb8d1cbcde..bad1822361334c88999d6832503c0c673d9f8415 100644 (file)
@@ -432,7 +432,7 @@ JSON
 
     assert_response :created
     issue = Issue.order('id DESC').first
-    assert_equal ["V1", "V3"], issue.custom_field_value(field)
+    assert_equal ["V1", "V3"], issue.custom_field_value(field).sort
   end
 
   test "POST /issues.json with failure should return errors" do