30 lines
527 B
Plaintext
30 lines
527 B
Plaintext
meta {
|
|
name: POST ability cast loadout mismatch
|
|
type: http
|
|
seq: 24
|
|
}
|
|
|
|
post {
|
|
url: {{baseUrl}}/game/players/dev-local-1/ability-cast
|
|
body: json
|
|
auth: none
|
|
}
|
|
|
|
body:json {
|
|
{
|
|
"schemaVersion": 1,
|
|
"slotIndex": 0,
|
|
"abilityId": "prototype_burst",
|
|
"targetId": null
|
|
}
|
|
}
|
|
|
|
tests {
|
|
test("status 200 denied", function () {
|
|
expect(res.getStatus()).to.equal(200);
|
|
const body = res.getBody();
|
|
expect(body.accepted).to.equal(false);
|
|
expect(body.reasonCode).to.equal("loadout_mismatch");
|
|
});
|
|
}
|