mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
REFACTOR: new 'show-avatar-select' app event to trigger the avatar selector modal
This commit is contained in:
parent
84d14fd8a0
commit
637850d867
12 changed files with 99 additions and 118 deletions
|
@ -12,9 +12,11 @@ QUnit.test("avatarTemplate", function(assert) {
|
|||
|
||||
avatarSelectorController.setProperties({
|
||||
selected: "system",
|
||||
system_avatar_upload_id: 1,
|
||||
gravatar_avatar_upload_id: 2,
|
||||
custom_avatar_upload_id: 3
|
||||
user: {
|
||||
system_avatar_upload_id: 1,
|
||||
gravatar_avatar_upload_id: 2,
|
||||
custom_avatar_upload_id: 3
|
||||
}
|
||||
});
|
||||
|
||||
assert.equal(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue