[#780] Clearing (Settings) cache to make the tests pass again

pull/41/head
Gregor Schmidt 13 years ago
parent f4c13be3f8
commit e4eb1336ea
  1. 1
      test/functional/account_controller_test.rb
  2. 1
      test/functional/issue_statuses_controller_test.rb
  3. 1
      test/test_helper.rb
  4. 1
      test/unit/changeset_test.rb
  5. 1
      test/unit/journal_observer_test.rb
  6. 1
      test/unit/lib/redmine/i18n_test.rb
  7. 1
      test/unit/news_test.rb

@ -21,6 +21,7 @@ class AccountControllerTest < ActionController::TestCase
fixtures :users, :roles
def setup
super
@controller = AccountController.new
@request = ActionController::TestRequest.new
@response = ActionController::TestResponse.new

@ -23,6 +23,7 @@ class IssueStatusesControllerTest < ActionController::TestCase
fixtures :issue_statuses, :issues
def setup
super
@controller = IssueStatusesController.new
@request = ActionController::TestRequest.new
@response = ActionController::TestResponse.new

@ -46,6 +46,7 @@ class ActiveSupport::TestCase
# Add more helper methods to be used by all tests here...
def setup
super
Rails.cache.clear
end
def log_user(login, password)

@ -19,6 +19,7 @@ class ChangesetTest < ActiveSupport::TestCase
:custom_fields, :custom_values, :users, :members, :member_roles, :trackers
def setup
super
end
def test_ref_keywords_any

@ -15,6 +15,7 @@ require File.expand_path('../../test_helper', __FILE__)
class JournalObserverTest < ActiveSupport::TestCase
def setup
super
@user = User.generate!(:mail_notification => 'all')
@project = Project.generate!
User.add_to_project(@user, @project, Role.generate!(:permissions => [:view_issues, :edit_issues]))

@ -18,6 +18,7 @@ class Redmine::I18nTest < ActiveSupport::TestCase
include ActionView::Helpers::NumberHelper
def setup
super
@hook_module = Redmine::Hook
end

@ -22,6 +22,7 @@ class NewsTest < ActiveSupport::TestCase
def setup
super
end
def test_create_should_send_email_notification

Loading…
Cancel
Save