Explorar o código

add alternative checksum for mojang capes

jomo %!s(int64=10) %!d(string=hai) anos
pai
achega
0ec97e9ba1
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      test/test.js

+ 2 - 2
test/test.js

@@ -420,7 +420,7 @@ describe("Crafatar", function() {
       "cape with existing username": {
         url: "http://localhost:3000/capes/jeb_",
         etag: '"3f688e0e69"',
-        crc32: 989800403
+        crc32: [989800403, 1901140141]
       },
       "cape with not existing username": {
         url: "http://localhost:3000/capes/0",
@@ -434,7 +434,7 @@ describe("Crafatar", function() {
       "cape with existing uuid": {
         url: "http://localhost:3000/capes/853c80ef3c3749fdaa49938b674adae6",
         etag: '"3f688e0e69"',
-        crc32: 989800403
+        crc32: [989800403, 1901140141]
       },
       "cape with not existing uuid": {
         url: "http://localhost:3000/capes/00000000000000000000000000000000",