summaryrefslogtreecommitdiffstats
path: root/test/integration/api_test
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-05-03 07:31:17 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-05-03 07:31:17 +0000
commit473db7e83b10fa233bb66e965cdf370b1a077fc3 (patch)
treedbef1aebdd4f7a76b692ca09de89645108046bb6 /test/integration/api_test
parentaaed5637b4bf2d15bb9c8b979aa0110a01578e12 (diff)
downloadredmine-473db7e83b10fa233bb66e965cdf370b1a077fc3.tar.gz
redmine-473db7e83b10fa233bb66e965cdf370b1a077fc3.zip
Fixes failing tests caused by r22802 (#40652).
git-svn-id: https://svn.redmine.org/redmine/trunk@22807 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/api_test')
-rw-r--r--test/integration/api_test/users_test.rb4
1 files 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