Browse Source

fix cape test

jeb_ no longer has a cape:

{
  "id": "853c80ef3c3749fdaa49938b674adae6",
  "name": "jeb_",
  "properties": [
    {
      "name": "textures",
      "value": "eyJ0aW1lc3RhbXAiOjE0OTk5MDMzNDY3NTQsInByb2ZpbGVJZCI6Ijg1M2M4MGVmM2MzNzQ5ZmRhYTQ5OTM4YjY3NGFkYWU2IiwicHJvZmlsZU5hbWUiOiJqZWJfIiwidGV4dHVyZXMiOnsiU0tJTiI6eyJ1cmwiOiJodHRwOi8vdGV4dHVyZXMubWluZWNyYWZ0Lm5ldC90ZXh0dXJlL2E4NDZiODI5NjM5MjRjYjEzMjExMTIyNDg5MjYzOTQxZDE0MDM2ODlmOTAxNTExMjBkNTIzNGJlNGE3M2ZiIn19fQ=="
    }
  ]
}

{
  "timestamp": 1499903346754,
  "profileId": "853c80ef3c3749fdaa49938b674adae6",
  "profileName": "jeb_",
  "textures": {
    "SKIN": {
      "url": "http://textures.minecraft.net/texture/a846b82963924cb13211122489263941d1403689f90151120d5234be4a73fb"
    }
  }
}
jomo 8 years ago
parent
commit
a25e01922e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      test/test.js

+ 2 - 2
test/test.js

@@ -456,7 +456,7 @@ describe("Crafatar", function() {
         redirect: "http://example.com/CaseSensitive",
       },
       "cape with existing username": {
-        url: "http://localhost:3000/capes/jeb_",
+        url: "http://localhost:3000/capes/notch",
         crc32: [2556702429],
       },
       "cape with non-existent username": {
@@ -469,7 +469,7 @@ describe("Crafatar", function() {
         redirect: "http://example.com/CaseSensitive",
       },
       "cape with existing uuid": {
-        url: "http://localhost:3000/capes/853c80ef3c3749fdaa49938b674adae6",
+        url: "http://localhost:3000/capes/069a79f444e94726a5befca90e38aaf5",
         crc32: [2556702429],
       },
       "cape with non-existent uuid": {