neon-sprawl/bruno/neon-sprawl-server/hotbar-loadout/Get loadout.bru

25 lines
473 B
Plaintext

meta {
name: GET hotbar loadout
type: http
seq: 1
}
get {
url: {{baseUrl}}/game/players/dev-local-1/hotbar-loadout
body: none
auth: none
}
tests {
test("status 200", function () {
expect(res.getStatus()).to.equal(200);
});
test("schema and slots present", function () {
const body = res.getBody();
expect(body.schemaVersion).to.equal(1);
expect(body.slotCount).to.equal(8);
expect(Array.isArray(body.slots)).to.equal(true);
});
}