diff options
author | Go MAEDA <maeda@farend.jp> | 2022-08-28 06:35:42 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2022-08-28 06:35:42 +0000 |
commit | 54f281fef90faba7ba75642e2dc265f345b6f618 (patch) | |
tree | e4bb6df7eb777c7420f9ffbaf4cbfbfc0db23295 /test | |
parent | 8d6c82316d90dc16f5fa0f601489da25177a0e10 (diff) | |
download | redmine-54f281fef90faba7ba75642e2dc265f345b6f618.tar.gz redmine-54f281fef90faba7ba75642e2dc265f345b6f618.zip |
Don't create two thumbnails of different resolutions for a single image (#37597).
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21784 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/issues_controller_test.rb | 2 | ||||
-rw-r--r-- | test/helpers/application_helper_test.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index 859fb2ff7..e47462b21 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -2756,7 +2756,7 @@ class IssuesControllerTest < Redmine::ControllerTest end assert_select 'div.thumbnails' do assert_select 'a[href="/attachments/16"]' do - assert_select 'img[src="/attachments/thumbnail/16"]' + assert_select 'img[src="/attachments/thumbnail/16/200"]' end end end diff --git a/test/helpers/application_helper_test.rb b/test/helpers/application_helper_test.rb index 452892e8b..64ef8a2de 100644 --- a/test/helpers/application_helper_test.rb +++ b/test/helpers/application_helper_test.rb @@ -1886,7 +1886,7 @@ class ApplicationHelperTest < Redmine::HelperTest assert_select_in( thumbnail_tag(a), 'a[href=?][title=?] img[src=?][loading="lazy"]', - "/attachments/3", "logo.gif", "/attachments/thumbnail/3") + "/attachments/3", "logo.gif", "/attachments/thumbnail/3/200") end def test_link_to_project |