36 lines
1.0 KiB
Plaintext
36 lines
1.0 KiB
Plaintext
meta {
|
|
name: Accept grid contract faction gate deny
|
|
type: http
|
|
seq: 10
|
|
}
|
|
|
|
docs {
|
|
NEO-137: prototype_quest_grid_contract requires completed operator chain and Grid Operators standing >= 15.
|
|
Prerequisite setup: mark prototype_quest_operator_chain completed (store seed or full chain playthrough).
|
|
Fresh dev player with chain completed but standing 0 denies faction_gate_blocked before activation.
|
|
Success Bruno deferred to NEO-138 when operator-chain rep grants land.
|
|
}
|
|
|
|
post {
|
|
url: {{baseUrl}}/game/players/{{playerId}}/quests/prototype_quest_grid_contract/accept
|
|
body: json
|
|
auth: none
|
|
}
|
|
|
|
body:json {
|
|
{
|
|
"schemaVersion": 1
|
|
}
|
|
}
|
|
|
|
tests {
|
|
test("denies accept with faction_gate_blocked when standing below minStanding", function () {
|
|
expect(res.getStatus()).to.equal(200);
|
|
const body = res.getBody();
|
|
expect(body.schemaVersion).to.equal(1);
|
|
expect(body.accepted).to.equal(false);
|
|
expect(body.reasonCode).to.equal("faction_gate_blocked");
|
|
expect(body.quest).to.equal(undefined);
|
|
});
|
|
}
|