36 lines
864 B
Plaintext
36 lines
864 B
Plaintext
meta {
|
|
name: Reset contract instance via quest fixture (NEO-149)
|
|
type: http
|
|
seq: 2
|
|
}
|
|
|
|
post {
|
|
url: {{baseUrl}}/game/players/{{playerId}}/__dev/quest-fixture
|
|
body: json
|
|
auth: none
|
|
}
|
|
|
|
body:json {
|
|
{
|
|
"schemaVersion": 1,
|
|
"resetContractInstanceIds": [
|
|
"ci_00000000000000000000000000000000"
|
|
]
|
|
}
|
|
}
|
|
|
|
docs {
|
|
NEO-149: quest-fixture accepts resetContractInstanceIds — clears contract instance, contract_completion delivery row, and outcome audit for each id (idempotent when absent).
|
|
Full issue → clear → GET Bruno loop: `bruno/neon-sprawl-server/contracts/` (NEO-151). Reset below uses placeholder id when no prior issue bru ran in-session.
|
|
}
|
|
|
|
tests {
|
|
test("status 200", function () {
|
|
expect(res.getStatus()).to.equal(200);
|
|
});
|
|
|
|
test("applied true", function () {
|
|
expect(res.getBody().applied).to.equal(true);
|
|
});
|
|
}
|