Replaces use of Digest::MD5 / Digest::SHA1 with ActiveSupport::Digest (#35217).

Patch by Jens Krämer (@jkraemer).

git-svn-id: https://svn.redmine.org/redmine/trunk@22816 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu
2024-05-07 18:36:46 +00:00
parent 9ef1cdd375
commit b4bfb6b581
10 changed files with 13 additions and 17 deletions

View File

@@ -677,7 +677,7 @@ class WikiControllerTest < Redmine::ControllerTest
:version => 3
},
:section => 2,
:section_hash => Digest::MD5.hexdigest("wrong hash")
:section_hash => ActiveSupport::Digest.hexdigest("wrong hash")
}
end
end