mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
add alternative checksums for steve & alex
using the latest version of lwip, the images don't have an alpha channel anymore apparently before @94322f3 npm thought 'crafatar/lwip' means git tag v0.0.5 and after that commit, using 'EyalAr/lwip' it noticed there's a v0.0.6 ... ... ... wat.
This commit is contained in:
parent
7f8da3abe2
commit
189698bed9
16
test/test.js
16
test/test.js
@ -345,12 +345,12 @@ describe("Crafatar", function() {
|
|||||||
"avatar with not existing username": {
|
"avatar with not existing username": {
|
||||||
url: "http://localhost:3000/avatars/0?size=16",
|
url: "http://localhost:3000/avatars/0?size=16",
|
||||||
etag: '"steve"',
|
etag: '"steve"',
|
||||||
crc32: 2416827277
|
crc32: [2416827277, 1243826040]
|
||||||
},
|
},
|
||||||
"avatar with not existing username defaulting to alex": {
|
"avatar with not existing username defaulting to alex": {
|
||||||
url: "http://localhost:3000/avatars/0?size=16&default=alex",
|
url: "http://localhost:3000/avatars/0?size=16&default=alex",
|
||||||
etag: '"alex"',
|
etag: '"alex"',
|
||||||
crc32: 862751081
|
crc32: [862751081, 809395677]
|
||||||
},
|
},
|
||||||
"avatar with not existing username defaulting to url": {
|
"avatar with not existing username defaulting to url": {
|
||||||
url: "http://localhost:3000/avatars/0?size=16&default=http://example.com",
|
url: "http://localhost:3000/avatars/0?size=16&default=http://example.com",
|
||||||
@ -365,12 +365,12 @@ describe("Crafatar", function() {
|
|||||||
"helm avatar with not existing username": {
|
"helm avatar with not existing username": {
|
||||||
url: "http://localhost:3000/avatars/0?size=16&helm",
|
url: "http://localhost:3000/avatars/0?size=16&helm",
|
||||||
etag: '"steve"',
|
etag: '"steve"',
|
||||||
crc32: 2416827277
|
crc32: [2416827277, 1243826040]
|
||||||
},
|
},
|
||||||
"helm avatar with not existing username defaulting to alex": {
|
"helm avatar with not existing username defaulting to alex": {
|
||||||
url: "http://localhost:3000/avatars/0?size=16&helm&default=alex",
|
url: "http://localhost:3000/avatars/0?size=16&helm&default=alex",
|
||||||
etag: '"alex"',
|
etag: '"alex"',
|
||||||
crc32: 862751081
|
crc32: [862751081, 809395677]
|
||||||
},
|
},
|
||||||
"helm avatar with not existing username defaulting to url": {
|
"helm avatar with not existing username defaulting to url": {
|
||||||
url: "http://localhost:3000/avatars/0?size=16&helm&default=http://example.com",
|
url: "http://localhost:3000/avatars/0?size=16&helm&default=http://example.com",
|
||||||
@ -385,12 +385,12 @@ describe("Crafatar", function() {
|
|||||||
"avatar with not existing uuid": {
|
"avatar with not existing uuid": {
|
||||||
url: "http://localhost:3000/avatars/00000000000000000000000000000000?size=16",
|
url: "http://localhost:3000/avatars/00000000000000000000000000000000?size=16",
|
||||||
etag: '"steve"',
|
etag: '"steve"',
|
||||||
crc32: 2416827277
|
crc32: [2416827277, 1243826040]
|
||||||
},
|
},
|
||||||
"avatar with not existing uuid defaulting to alex": {
|
"avatar with not existing uuid defaulting to alex": {
|
||||||
url: "http://localhost:3000/avatars/00000000000000000000000000000000?size=16&default=alex",
|
url: "http://localhost:3000/avatars/00000000000000000000000000000000?size=16&default=alex",
|
||||||
etag: '"alex"',
|
etag: '"alex"',
|
||||||
crc32: 862751081
|
crc32: [862751081, 809395677]
|
||||||
},
|
},
|
||||||
"avatar with not existing uuid defaulting to url": {
|
"avatar with not existing uuid defaulting to url": {
|
||||||
url: "http://localhost:3000/avatars/00000000000000000000000000000000?size=16&default=http://example.com",
|
url: "http://localhost:3000/avatars/00000000000000000000000000000000?size=16&default=http://example.com",
|
||||||
@ -405,12 +405,12 @@ describe("Crafatar", function() {
|
|||||||
"helm avatar with not existing uuid": {
|
"helm avatar with not existing uuid": {
|
||||||
url: "http://localhost:3000/avatars/00000000000000000000000000000000?size=16&helm",
|
url: "http://localhost:3000/avatars/00000000000000000000000000000000?size=16&helm",
|
||||||
etag: '"steve"',
|
etag: '"steve"',
|
||||||
crc32: 2416827277
|
crc32: [2416827277, 1243826040]
|
||||||
},
|
},
|
||||||
"helm avatar with not existing uuid defaulting to alex": {
|
"helm avatar with not existing uuid defaulting to alex": {
|
||||||
url: "http://localhost:3000/avatars/00000000000000000000000000000000?size=16&helm&default=alex",
|
url: "http://localhost:3000/avatars/00000000000000000000000000000000?size=16&helm&default=alex",
|
||||||
etag: '"alex"',
|
etag: '"alex"',
|
||||||
crc32: 862751081
|
crc32: [862751081, 809395677]
|
||||||
},
|
},
|
||||||
"helm avatar with not existing uuid defaulting to url": {
|
"helm avatar with not existing uuid defaulting to url": {
|
||||||
url: "http://localhost:3000/avatars/00000000000000000000000000000000?size=16&helm&default=http://example.com",
|
url: "http://localhost:3000/avatars/00000000000000000000000000000000?size=16&helm&default=http://example.com",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user