1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-01 03:57:15 +00:00

Fix "DEPRECATION WARNING: Passing a path to relative to is deprecated." (#29914).

Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20885 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2021-04-01 14:53:10 +00:00
parent e86476eb5b
commit 9668486304

View File

@ -59,7 +59,7 @@ class ActiveSupport::TestCase
self.use_instantiated_fixtures = false
def uploaded_test_file(name, mime)
fixture_file_upload("files/#{name}", mime, true)
fixture_file_upload(name.to_s, mime, true)
end
def mock_file(options=nil)