neon-sprawl/bruno/neon-sprawl-server/ability-cast/Post cast bad schema.bru

27 lines
383 B
Plaintext

meta {
name: POST ability cast bad schema
type: http
seq: 22
}
post {
url: {{baseUrl}}/game/players/dev-local-1/ability-cast
body: json
auth: none
}
body:json {
{
"schemaVersion": 999,
"slotIndex": 0,
"abilityId": "prototype_pulse",
"targetId": null
}
}
tests {
test("status 400", function () {
expect(res.getStatus()).to.equal(400);
});
}