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"
    }
  }
}
This commit is contained in:
jomo 2017-07-13 12:49:09 +02:00
parent 3130bdf9e9
commit a25e01922e

View File

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