mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
FIX: cropAvatar
This commit is contained in:
parent
8d967d9065
commit
566b267981
4 changed files with 7 additions and 8 deletions
|
@ -177,7 +177,7 @@ module("Discourse.Utilities.cropAvatar with animated avatars", {
|
|||
asyncTestDiscourse("cropAvatar", function() {
|
||||
expect(1);
|
||||
|
||||
utils.cropAvatar("/path/to/avatar.gif", "image/gif").then(function(avatarTemplate) {
|
||||
utils.cropAvatar("/path/to/avatar.gif").then(function(avatarTemplate) {
|
||||
equal(avatarTemplate, "/path/to/avatar.gif", "returns the url to the gif when animated gif are enabled");
|
||||
start();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue