DEV: Make site setting type uploaded_image_list use upload IDs (#10401)

It used to be a list of concatenated upload URLs which was prone to
break.
This commit is contained in:
Bianca Nenciu
2020-10-13 16:17:06 +03:00
committed by GitHub
parent a73fd4227f
commit 25b8ed740b
23 changed files with 213 additions and 124 deletions

View File

@ -2368,7 +2368,7 @@ describe UsersController do
context 'selectable avatars is enabled' do
before do
SiteSetting.selectable_avatars = [avatar1.url, avatar2.url].join("\n")
SiteSetting.selectable_avatars = [avatar1, avatar2]
SiteSetting.selectable_avatars_enabled = true
end