2
0
Эх сурвалжийг харах

add alternative checksum for mojang capes

jomo 10 жил өмнө
parent
commit
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": {
       "cape with existing username": {
         url: "http://localhost:3000/capes/jeb_",
         url: "http://localhost:3000/capes/jeb_",
         etag: '"3f688e0e69"',
         etag: '"3f688e0e69"',
-        crc32: 989800403
+        crc32: [989800403, 1901140141]
       },
       },
       "cape with not existing username": {
       "cape with not existing username": {
         url: "http://localhost:3000/capes/0",
         url: "http://localhost:3000/capes/0",
@@ -434,7 +434,7 @@ describe("Crafatar", function() {
       "cape with existing uuid": {
       "cape with existing uuid": {
         url: "http://localhost:3000/capes/853c80ef3c3749fdaa49938b674adae6",
         url: "http://localhost:3000/capes/853c80ef3c3749fdaa49938b674adae6",
         etag: '"3f688e0e69"',
         etag: '"3f688e0e69"',
-        crc32: 989800403
+        crc32: [989800403, 1901140141]
       },
       },
       "cape with not existing uuid": {
       "cape with not existing uuid": {
         url: "http://localhost:3000/capes/00000000000000000000000000000000",
         url: "http://localhost:3000/capes/00000000000000000000000000000000",