neon-sprawl/bruno/neon-sprawl-server/ability-cast/Post hotbar bind slot0 puls...

32 lines
505 B
Plaintext

meta {
name: POST hotbar bind slot0 pulse (cast preset)
type: http
seq: 20
}
post {
url: {{baseUrl}}/game/players/dev-local-1/hotbar-loadout
body: json
auth: none
}
body:json {
{
"schemaVersion": 1,
"slots": [
{
"slotIndex": 0,
"abilityId": "prototype_pulse"
}
]
}
}
tests {
test("status 200 and updated", function () {
expect(res.getStatus()).to.equal(200);
const body = res.getBody();
expect(body.updated).to.equal(true);
});
}