summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-12-28 09:46:16 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-12-28 09:46:16 +0000
commitbde72a5f403805a2a571e26a65a4b7bd37b1a6da (patch)
treecf73e757160ff162c4bc1c4f750e9e2d9bee5918
parenta7a4c9f848783e51a5e7cee7d374879443cfb2be (diff)
downloadredmine-bde72a5f403805a2a571e26a65a4b7bd37b1a6da.tar.gz
redmine-bde72a5f403805a2a571e26a65a4b7bd37b1a6da.zip
Fixes functional tests fixtures (#2398).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2190 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--test/functional/account_controller_test.rb2
-rw-r--r--test/functional/attachments_controller_test.rb3
2 files changed, 3 insertions, 2 deletions
diff --git a/test/functional/account_controller_test.rb b/test/functional/account_controller_test.rb
index a6e379991..4d96a3f3b 100644
--- a/test/functional/account_controller_test.rb
+++ b/test/functional/account_controller_test.rb
@@ -22,7 +22,7 @@ require 'account_controller'
class AccountController; def rescue_action(e) raise e end; end
class AccountControllerTest < Test::Unit::TestCase
- fixtures :users
+ fixtures :users, :roles
def setup
@controller = AccountController.new
diff --git a/test/functional/attachments_controller_test.rb b/test/functional/attachments_controller_test.rb
index f5c3c0f57..c60a4a0e0 100644
--- a/test/functional/attachments_controller_test.rb
+++ b/test/functional/attachments_controller_test.rb
@@ -23,7 +23,8 @@ class AttachmentsController; def rescue_action(e) raise e end; end
class AttachmentsControllerTest < Test::Unit::TestCase
- fixtures :users, :projects, :roles, :members, :enabled_modules, :issues, :attachments
+ fixtures :users, :projects, :roles, :members, :enabled_modules, :issues, :attachments,
+ :versions, :wiki_pages, :wikis
def setup
@controller = AttachmentsController.new