diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-09-25 04:58:07 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-09-25 04:58:07 +0000 |
commit | 233bdd777915ad7a3ee49f6d35b7be3770b33e23 (patch) | |
tree | 2ce7f1c46bbb39597a9ae9b2b628c3cd12057a62 | |
parent | c9bd3394d08fcd86b0a7e7812aee8cc11c1e0017 (diff) | |
download | redmine-233bdd777915ad7a3ee49f6d35b7be3770b33e23.tar.gz redmine-233bdd777915ad7a3ee49f6d35b7be3770b33e23.zip |
Rails3: replace "all" fixtures at test/integration/api_test/token_authentication_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7518 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | test/integration/api_test/token_authentication_test.rb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/integration/api_test/token_authentication_test.rb b/test/integration/api_test/token_authentication_test.rb index 424f60bb1..3026dd9e1 100644 --- a/test/integration/api_test/token_authentication_test.rb +++ b/test/integration/api_test/token_authentication_test.rb @@ -1,7 +1,14 @@ require File.expand_path('../../../test_helper', __FILE__) class ApiTest::TokenAuthenticationTest < ActionController::IntegrationTest - fixtures :all + fixtures :projects, :trackers, :issue_statuses, :issues, + :enumerations, :users, :issue_categories, + :projects_trackers, + :roles, + :member_roles, + :members, + :enabled_modules, + :workflows def setup Setting.rest_api_enabled = '1' |