add missing fixtures at unit user test in running on empty database

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7445 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-09-22 09:53:35 +00:00
parent 8013244b06
commit cf8564987e
1 changed files with 9 additions and 1 deletions

View File

@ -18,7 +18,15 @@
require File.expand_path('../../test_helper', __FILE__)
class UserTest < ActiveSupport::TestCase
fixtures :users, :members, :projects, :roles, :member_roles, :auth_sources
fixtures :users, :members, :projects, :roles, :member_roles, :auth_sources,
:trackers, :issue_statuses,
:projects_trackers,
:watchers,
:issue_categories, :enumerations, :issues,
:journals, :journal_details,
:groups_users,
:enabled_modules,
:workflows
def setup
@admin = User.find(1)