소스 검색

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",