]> source.dussan.org Git - redmine.git/commitdiff
Fix failing test after r23230 (#23980).
authorMarius Balteanu <marius.balteanu@zitec.com>
Sun, 10 Nov 2024 20:12:34 +0000 (20:12 +0000)
committerMarius Balteanu <marius.balteanu@zitec.com>
Sun, 10 Nov 2024 20:12:34 +0000 (20:12 +0000)
git-svn-id: https://svn.redmine.org/redmine/trunk@23235 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/helpers/icons_helper_test.rb

index ab3e743fdeddc61f801fe59e5554d7798b47eace..01fffd4cab6685cc403217f9be9b7cb37a88eff0 100644 (file)
@@ -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