26 lines
581 B
Plaintext
26 lines
581 B
Plaintext
meta {
|
|
name: GET health (contract instance stores NEO-146)
|
|
type: http
|
|
seq: 1
|
|
}
|
|
|
|
get {
|
|
url: {{baseUrl}}/health
|
|
body: none
|
|
auth: none
|
|
}
|
|
|
|
docs {
|
|
NEO-146 registers IContractInstanceStore and IContractOutcomeStore (in-memory or Postgres when configured). No contract HTTP API in this story — use this request to confirm the host started after store DI wiring.
|
|
}
|
|
|
|
tests {
|
|
test("status 200", function () {
|
|
expect(res.getStatus()).to.equal(200);
|
|
});
|
|
|
|
test("service identity", function () {
|
|
expect(res.getBody().service).to.equal("NeonSprawl.Server");
|
|
});
|
|
}
|