mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-01 03:57:15 +00:00
Add test for #36932.
git-svn-id: https://svn.redmine.org/redmine/trunk@21542 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
4fdcbc212b
commit
a554e1d7bd
@ -26,4 +26,11 @@ class Redmine::InfoTest < ActiveSupport::TestCase
|
||||
assert_kind_of String, env
|
||||
assert_match 'Redmine version', env
|
||||
end
|
||||
|
||||
def test_theme_with_invalid_theme_setting
|
||||
Setting.ui_theme = 'foo'
|
||||
env = Redmine::Info.environment
|
||||
|
||||
assert_match 'Redmine theme', env
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user