From 7741263ab605189c7728cf79d89a150b4bf4b27b Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 2 Mar 2017 18:20:17 +0000 Subject: [PATCH] ThemesTest#test_without_theme_js may fail if third-party theme is installed (#25118). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@16347 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/integration/lib/redmine/themes_test.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/integration/lib/redmine/themes_test.rb b/test/integration/lib/redmine/themes_test.rb index 65968afcf..200c0c286 100644 --- a/test/integration/lib/redmine/themes_test.rb +++ b/test/integration/lib/redmine/themes_test.rb @@ -37,6 +37,8 @@ class ThemesTest < Redmine::IntegrationTest end def test_without_theme_js + # simulate a state theme.js does not exists + @theme.javascripts.clear get '/' assert_response :success -- 2.39.5