Fix tests

This commit is contained in:
ErickSkrauch 2020-04-20 17:22:04 +03:00
parent bca1436baf
commit e098b8d86f
No known key found for this signature in database
GPG Key ID: 669339FCBB30EE0E

View File

@ -115,6 +115,8 @@ func (suite *skinsystemTestSuite) SetupTest() {
CapesRepo: suite.CapesRepository, CapesRepo: suite.CapesRepository,
MojangTexturesProvider: suite.MojangTexturesProvider, MojangTexturesProvider: suite.MojangTexturesProvider,
Emitter: suite.Emitter, Emitter: suite.Emitter,
TexturesExtraParamName: "texturesParamName",
TexturesExtraParamValue: "texturesParamValue",
} }
} }
@ -513,8 +515,8 @@ var signedTexturesTestsCases = []*signedTexturesTestCase{
"value": "mocked textures base64" "value": "mocked textures base64"
}, },
{ {
"name": "chrly", "name": "texturesParamName",
"value": "how do you tame a horse in Minecraft?" "value": "texturesParamValue"
} }
] ]
}`, string(body)) }`, string(body))
@ -567,8 +569,8 @@ var signedTexturesTestsCases = []*signedTexturesTestCase{
"value": "eyJ0aW1lc3RhbXAiOjE1NTYzOTg1NzIsInByb2ZpbGVJZCI6IjAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwIiwicHJvZmlsZU5hbWUiOiJtb2NrX3VzZXJuYW1lIiwidGV4dHVyZXMiOnsiU0tJTiI6eyJ1cmwiOiJodHRwOi8vbW9qYW5nL3NraW4ucG5nIn19fQ==" "value": "eyJ0aW1lc3RhbXAiOjE1NTYzOTg1NzIsInByb2ZpbGVJZCI6IjAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwIiwicHJvZmlsZU5hbWUiOiJtb2NrX3VzZXJuYW1lIiwidGV4dHVyZXMiOnsiU0tJTiI6eyJ1cmwiOiJodHRwOi8vbW9qYW5nL3NraW4ucG5nIn19fQ=="
}, },
{ {
"name": "chrly", "name": "texturesParamName",
"value": "how do you tame a horse in Minecraft?" "value": "texturesParamValue"
} }
] ]
}`, string(body)) }`, string(body))