neon-sprawl/bruno/neon-sprawl-server/hotbar-loadout-post-bad-sch...

30 lines
409 B
Plaintext

meta {
name: hotbar-loadout post bad schema
type: http
seq: 4
}
post {
url: {{baseUrl}}/game/players/dev-local-1/hotbar-loadout
body: json
auth: none
}
body:json {
{
"schemaVersion": 999,
"slots": [
{
"slotIndex": 0,
"abilityId": "prototype_pulse"
}
]
}
}
tests {
test("status 400", function () {
expect(res.getStatus()).to.equal(400);
});
}