1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-10-17 17:01:01 +00:00

Fix ThemesTest may fail if a third-party theme having theme.js is installed (#40205).

git-svn-id: https://svn.redmine.org/redmine/trunk@22707 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu 2024-02-13 22:58:30 +00:00
parent f486091b24
commit 17a0ec4c9a

View File

@ -23,7 +23,7 @@ class ThemesTest < Redmine::IntegrationTest
def setup def setup
Redmine::Themes.rescan Redmine::Themes.rescan
@theme = Redmine::Themes.themes.last @theme = Redmine::Themes.theme('classic')
Setting.ui_theme = @theme.id Setting.ui_theme = @theme.id
end end