mirror of
https://github.com/elyby/chrly.git
synced 2024-12-23 21:50:03 +05:30
Fix tests
This commit is contained in:
parent
bca1436baf
commit
e098b8d86f
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user