diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2024-05-07 18:36:46 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2024-05-07 18:36:46 +0000 |
commit | b4bfb6b581035b52a193c74ac74825f3652a014a (patch) | |
tree | 5cb102d4869ab473f9c8fa2e7844079b623ca5da /test/functional/wiki_controller_test.rb | |
parent | 9ef1cdd375793b05d9ef7a6036678168f2704750 (diff) | |
download | redmine-b4bfb6b581035b52a193c74ac74825f3652a014a.tar.gz redmine-b4bfb6b581035b52a193c74ac74825f3652a014a.zip |
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
Diffstat (limited to 'test/functional/wiki_controller_test.rb')
-rw-r--r-- | test/functional/wiki_controller_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/wiki_controller_test.rb b/test/functional/wiki_controller_test.rb index 215c9caf4..31dcf395d 100644 --- a/test/functional/wiki_controller_test.rb +++ b/test/functional/wiki_controller_test.rb @@ -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 |