]> source.dussan.org Git - redmine.git/commitdiff
add missing fixtures
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 21 Jan 2015 13:32:36 +0000 (13:32 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 21 Jan 2015 13:32:36 +0000 (13:32 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@13932 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/sessions_test.rb
test/unit/principal_test.rb

index a2eaff2deaf0954abd1a34ae175328d029488a36..1d75fc8dbe79a3a4a7c074960c8ca33e1c08809e 100644 (file)
@@ -35,7 +35,7 @@ class SessionsTest < ActionController::TestCase
   include Redmine::I18n
   tests WelcomeController
 
-  fixtures :users
+  fixtures :users, :email_addresses
 
   def test_atime_from_user_session_should_be_updated
     created = 2.hours.ago.utc.to_i
index 0e50a6d6e0a41b64cb2f304df7b89718b9d2eee4..fd8b4009ff29c169f816bb543fd65d232410ada9 100644 (file)
@@ -20,7 +20,8 @@
 require File.expand_path('../../test_helper', __FILE__)
 
 class PrincipalTest < ActiveSupport::TestCase
-  fixtures :users, :projects, :members, :member_roles, :roles
+  fixtures :users, :projects, :members, :member_roles, :roles,
+           :email_addresses
 
   def test_active_scope_should_return_groups_and_active_users
     result = Principal.active.to_a