summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2018-03-12 04:31:04 +0000
committerGo MAEDA <maeda@farend.jp>2018-03-12 04:31:04 +0000
commit8ee4d5084df530b32218f8854570c417ce67386e (patch)
treebb369b2a08ca1b0418065ea9dde9b885603829d3 /test
parent9c6d95b05991581c52f1d150dd6740a5ae3e8dc3 (diff)
downloadredmine-8ee4d5084df530b32218f8854570c417ce67386e.tar.gz
redmine-8ee4d5084df530b32218f8854570c417ce67386e.zip
Deletion of an LDAP authentication mode may fail silently (#28000).
Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17232 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/functional/auth_sources_controller_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/auth_sources_controller_test.rb b/test/functional/auth_sources_controller_test.rb
index e6bfcf54c..adc6c1a22 100644
--- a/test/functional/auth_sources_controller_test.rb
+++ b/test/functional/auth_sources_controller_test.rb
@@ -159,6 +159,7 @@ class AuthSourcesControllerTest < Redmine::ControllerTest
:id => 1
}
assert_redirected_to '/auth_sources'
+ assert_equal 'This authentication mode is in use and cannot be deleted.', flash[:error]
end
end