neon-sprawl/bruno/neon-sprawl-server/contracts/POST contract issue whitesp...

31 lines
590 B
Plaintext

meta {
name: POST contract issue whitespace path 404
type: http
seq: 4
}
docs {
NEO-151 review: whitespace-only path id returns 404 (position gate), matching quest accept and contract GET.
}
post {
url: {{baseUrl}}/game/players/%20/contracts/issue
body: json
auth: none
}
body:json {
{
"schemaVersion": 1,
"playerId": "{{playerId}}",
"templateId": "prototype_contract_clear_combat_pocket",
"seedBucket": "2026-06-28-neo151-bruno"
}
}
tests {
test("returns 404 for whitespace path id", function () {
expect(res.getStatus()).to.equal(404);
});
}