diff options
author | Christoph (Sheogorath) Kern | 2019-03-31 03:30:51 +0200 |
---|---|---|
committer | GitHub | 2019-03-31 03:30:51 +0200 |
commit | 7f04013f4a4dccfa6b13f529baeaf7c7d6a51f09 (patch) | |
tree | e1e8f2726f3f68788099f99de96624af062855fc /test | |
parent | 52055ec7b7df4aaed022ea6c9422f454426b317a (diff) | |
parent | a5133e0f9bec5506f2f10ba2260e892a07ec23ad (diff) |
Merge pull request #7 from SISheogorath/feature/libravatar
Use libravatar as drop-in replacement for gravatar
Diffstat (limited to 'test')
-rw-r--r-- | test/letter-avatars.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/letter-avatars.js b/test/letter-avatars.js index c0e967ef..8cc32d8b 100644 --- a/test/letter-avatars.js +++ b/test/letter-avatars.js @@ -19,8 +19,8 @@ describe('generateAvatarURL() gravatar enabled', function () { }) it('should return correct urls', function () { - assert.strictEqual(avatars.generateAvatarURL('Daan Sprenkels', 'hello@dsprenkels.com', true), 'https://www.gravatar.com/avatar/d41b5f3508cc3f31865566a47dd0336b?s=400') - assert.strictEqual(avatars.generateAvatarURL('Daan Sprenkels', 'hello@dsprenkels.com', false), 'https://www.gravatar.com/avatar/d41b5f3508cc3f31865566a47dd0336b?s=96') + assert.strictEqual(avatars.generateAvatarURL('Daan Sprenkels', 'hello@dsprenkels.com', true), 'https://cdn.libravatar.org/avatar/d41b5f3508cc3f31865566a47dd0336b?s=400') + assert.strictEqual(avatars.generateAvatarURL('Daan Sprenkels', 'hello@dsprenkels.com', false), 'https://cdn.libravatar.org/avatar/d41b5f3508cc3f31865566a47dd0336b?s=96') }) it('should return correct urls for names with spaces', function () { |