summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-11-10 20:12:34 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-11-10 20:12:34 +0000
commitd3d07db129bd09ed1ac381b9fc2382f6ec376b0d (patch)
tree2c352b7b8e0d717eda88d9ac43859502aaae1eb0
parentd8fa577550c3773676c21344555b450feecd36cf (diff)
downloadredmine-d3d07db129bd09ed1ac381b9fc2382f6ec376b0d.tar.gz
redmine-d3d07db129bd09ed1ac381b9fc2382f6ec376b0d.zip
Fix failing test after r23230 (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23235 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--test/helpers/icons_helper_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/helpers/icons_helper_test.rb b/test/helpers/icons_helper_test.rb
index ab3e743fd..01fffd4ca 100644
--- a/test/helpers/icons_helper_test.rb
+++ b/test/helpers/icons_helper_test.rb
@@ -106,7 +106,7 @@ class IconsHelperTest < Redmine::HelperTest
end
def test_principal_icon_should_return_nil_for_non_group_classes
- assert_nil principal_icon('user')
+ assert_nil principal_icon(Principal.find(1))
end
def test_activity_event_type_icon_should_return_correct_icon_for_reply_events