@@ -35,7 +35,7 class SessionsTest < ActionController::TestCase | |||||
35 | include Redmine::I18n |
|
35 | include Redmine::I18n | |
36 | tests WelcomeController |
|
36 | tests WelcomeController | |
37 |
|
37 | |||
38 | fixtures :users |
|
38 | fixtures :users, :email_addresses | |
39 |
|
39 | |||
40 | def test_atime_from_user_session_should_be_updated |
|
40 | def test_atime_from_user_session_should_be_updated | |
41 | created = 2.hours.ago.utc.to_i |
|
41 | created = 2.hours.ago.utc.to_i |
@@ -20,7 +20,8 | |||||
20 | require File.expand_path('../../test_helper', __FILE__) |
|
20 | require File.expand_path('../../test_helper', __FILE__) | |
21 |
|
21 | |||
22 | class PrincipalTest < ActiveSupport::TestCase |
|
22 | class PrincipalTest < ActiveSupport::TestCase | |
23 | fixtures :users, :projects, :members, :member_roles, :roles |
|
23 | fixtures :users, :projects, :members, :member_roles, :roles, | |
|
24 | :email_addresses | |||
24 |
|
25 | |||
25 | def test_active_scope_should_return_groups_and_active_users |
|
26 | def test_active_scope_should_return_groups_and_active_users | |
26 | result = Principal.active.to_a |
|
27 | result = Principal.active.to_a |
General Comments 0
You need to be logged in to leave comments.
Login now