Browse Source

add alternative checksum for mojang capes

jomo 10 years ago
parent
commit
0ec97e9ba1
1 changed files with 2 additions and 2 deletions
  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",