2
0
Fork 0
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:
Régis Hanol 2018-07-25 12:38:15 +02:00
parent 84d14fd8a0
commit 637850d867
12 changed files with 99 additions and 118 deletions

View file

@ -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(