]> source.dussan.org Git - redmine.git/commitdiff
Fixes random test failure.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 30 Apr 2010 11:27:08 +0000 (11:27 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 30 Apr 2010 11:27:08 +0000 (11:27 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3707 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/mailer_test.rb

index 0641bab7d77d9a5199cfedb7f4a60c5f24f7fd36..f1fc2502f6ec5609a30f97681f5b3139b9b2718f 100644 (file)
@@ -306,7 +306,7 @@ class MailerTest < ActiveSupport::TestCase
   end
   
   def test_account_information
-    user = User.find(:first)
+    user = User.find(2)
     valid_languages.each do |lang|
       user.update_attribute :language, lang.to_s
       user.reload