mirror of
https://github.com/redmine/redmine.git
synced 2026-06-19 19:30:38 +02:00
Fixed that settings raises an error if not trackers exist (#11467).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10067 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -66,6 +66,13 @@ class SettingsControllerTest < ActionController::TestCase
|
||||
end
|
||||
end
|
||||
|
||||
def test_get_edit_without_trackers_should_succeed
|
||||
Tracker.delete_all
|
||||
|
||||
get :edit
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
def test_post_edit_notifications
|
||||
post :edit, :settings => {:mail_from => 'functional@test.foo',
|
||||
:bcc_recipients => '0',
|
||||
|
||||
Reference in New Issue
Block a user