mirror of
https://github.com/redmine/redmine.git
synced 2025-11-11 15:56:03 +01:00
add missing fixtures
git-svn-id: http://svn.redmine.org/redmine/trunk@13932 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -35,7 +35,7 @@ class SessionsTest < ActionController::TestCase
|
|||||||
include Redmine::I18n
|
include Redmine::I18n
|
||||||
tests WelcomeController
|
tests WelcomeController
|
||||||
|
|
||||||
fixtures :users
|
fixtures :users, :email_addresses
|
||||||
|
|
||||||
def test_atime_from_user_session_should_be_updated
|
def test_atime_from_user_session_should_be_updated
|
||||||
created = 2.hours.ago.utc.to_i
|
created = 2.hours.ago.utc.to_i
|
||||||
|
|||||||
@@ -20,7 +20,8 @@
|
|||||||
require File.expand_path('../../test_helper', __FILE__)
|
require File.expand_path('../../test_helper', __FILE__)
|
||||||
|
|
||||||
class PrincipalTest < ActiveSupport::TestCase
|
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
|
def test_active_scope_should_return_groups_and_active_users
|
||||||
result = Principal.active.to_a
|
result = Principal.active.to_a
|
||||||
|
|||||||
Reference in New Issue
Block a user