summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2015-01-21 13:32:36 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2015-01-21 13:32:36 +0000
commite10b3fe305b377012b791fb352d85762d935d67c (patch)
treeeb70d94f4b15eabcbb0e3afd48291559079b6bc3
parent585642d072d82a061d4155f0f3aa640f2754bd6d (diff)
downloadredmine-e10b3fe305b377012b791fb352d85762d935d67c.tar.gz
redmine-e10b3fe305b377012b791fb352d85762d935d67c.zip
add missing fixtures
git-svn-id: http://svn.redmine.org/redmine/trunk@13932 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--test/functional/sessions_test.rb2
-rw-r--r--test/unit/principal_test.rb3
2 files changed, 3 insertions, 2 deletions
diff --git a/test/functional/sessions_test.rb b/test/functional/sessions_test.rb
index a2eaff2de..1d75fc8db 100644
--- a/test/functional/sessions_test.rb
+++ b/test/functional/sessions_test.rb
@@ -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
diff --git a/test/unit/principal_test.rb b/test/unit/principal_test.rb
index 0e50a6d6e..fd8b4009f 100644
--- a/test/unit/principal_test.rb
+++ b/test/unit/principal_test.rb
@@ -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