mirror of
https://github.com/redmine/redmine.git
synced 2025-11-12 08:16:03 +01: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:
@@ -26,4 +26,11 @@ class Redmine::InfoTest < ActiveSupport::TestCase
|
|||||||
assert_kind_of String, env
|
assert_kind_of String, env
|
||||||
assert_match 'Redmine version', env
|
assert_match 'Redmine version', env
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def test_theme_with_invalid_theme_setting
|
||||||
|
Setting.ui_theme = 'foo'
|
||||||
|
env = Redmine::Info.environment
|
||||||
|
|
||||||
|
assert_match 'Redmine theme', env
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user