summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-02-13 22:58:30 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-02-13 22:58:30 +0000
commit17a0ec4c9a58059a6f5e78fc2cc8d2c5d69c2cd6 (patch)
tree0bc216b71d1fb1039d92065ae2d37aa9dc63c602 /test
parentf486091b24781767958c413c6831a7d8258e47cf (diff)
downloadredmine-17a0ec4c9a58059a6f5e78fc2cc8d2c5d69c2cd6.tar.gz
redmine-17a0ec4c9a58059a6f5e78fc2cc8d2c5d69c2cd6.zip
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
Diffstat (limited to 'test')
-rw-r--r--test/integration/lib/redmine/themes_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/lib/redmine/themes_test.rb b/test/integration/lib/redmine/themes_test.rb
index cabe52f34..857092b7e 100644
--- a/test/integration/lib/redmine/themes_test.rb
+++ b/test/integration/lib/redmine/themes_test.rb
@@ -23,7 +23,7 @@ class ThemesTest < Redmine::IntegrationTest
def setup
Redmine::Themes.rescan
- @theme = Redmine::Themes.themes.last
+ @theme = Redmine::Themes.theme('classic')
Setting.ui_theme = @theme.id
end