浏览代码

add alternative checksum for mojang capes

jomo 10 年之前
父节点
当前提交
0ec97e9ba1
共有 1 个文件被更改,包括 2 次插入2 次删除
  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",