mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
FEATURE: backend support for user-selectable components
* FEATURE: backend support for user-selectable components * fix problems with previewing default theme * rename preview_key => preview_theme_id * omit default theme from child themes dropdown and try a different fix * cache & freeze stylesheets arrays
This commit is contained in:
@ -82,7 +82,7 @@ describe UserUpdater do
|
||||
updater = UserUpdater.new(acting_user, user)
|
||||
date_of_birth = Time.zone.now
|
||||
|
||||
theme = Theme.create!(user_id: -1, name: "test", user_selectable: true)
|
||||
theme = Fabricate(:theme, user_selectable: true)
|
||||
|
||||
seq = user.user_option.theme_key_seq
|
||||
|
||||
|
Reference in New Issue
Block a user