From 473db7e83b10fa233bb66e965cdf370b1a077fc3 Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Fri, 3 May 2024 07:31:17 +0000 Subject: [PATCH] Fixes failing tests caused by r22802 (#40652). git-svn-id: https://svn.redmine.org/redmine/trunk@22807 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/integration/api_test/users_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/api_test/users_test.rb b/test/integration/api_test/users_test.rb index a51c14b0e..a05fe1ee3 100644 --- a/test/integration/api_test/users_test.rb +++ b/test/integration/api_test/users_test.rb @@ -42,7 +42,7 @@ class Redmine::ApiTest::UsersTest < Redmine::ApiTest::Base # No one has changed password. assert_select user_element, 'passwd_changed_on', :text => '' - assert_select user_element, 'avatar_url', :text => %r|\Ahttps://gravatar.com/avatar/\h{32}\?default=mm| + assert_select user_element, 'avatar_url', :text => %r|\Ahttps://gravatar.com/avatar/\h{64}\?default=mm| if user == users.last assert_select user_element, 'twofa_scheme', :text => 'totp' @@ -167,7 +167,7 @@ class Redmine::ApiTest::UsersTest < Redmine::ApiTest::Base assert_select 'user id', :text => '2' assert_select 'user updated_on', :text => Time.zone.parse('2006-07-19T20:42:15Z').iso8601 assert_select 'user passwd_changed_on', :text => '' - assert_select 'user avatar_url', :text => %r|\Ahttps://gravatar.com/avatar/\h{32}\?default=robohash| + assert_select 'user avatar_url', :text => %r|\Ahttps://gravatar.com/avatar/\h{64}\?default=robohash| end test "GET /users/:id.xml should not return avatar_url when not set email address" do -- 2.39.5