mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 11:11:13 +08:00
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:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user