Name the engine in the provisions these tests declare

Follows novox/hq ADR 0027: a consumer is written against PostgreSQL,
not against a database.
This commit is contained in:
2026-08-31 17:12:46 +02:00
parent 033ad7ec69
commit 17e7132532
2 changed files with 16 additions and 16 deletions
+2 -2
View File
@@ -75,7 +75,7 @@ async function meshWrote(
): Promise<void> {
const manifest = {
contributions: 1,
requirement: "database",
requirement: "postgres-database",
generated: "by the mesh",
given: consumers.map((c) => ({
from: c.module,
@@ -247,7 +247,7 @@ test("a manifest naming a credential that was never written is refused", { skip,
// report until something tried to connect.
await meshWrote([]);
await must(
`printf %s '{"contributions":1,"requirement":"database","given":[` +
`printf %s '{"contributions":1,"requirement":"postgres-database","given":[` +
`{"from":"meshboard","node":"ghost","secret":"${GRANTS}/ghost.secret","values":{"name":"ghost"}}` +
`]}' > ${GRANTS}/mesh.json`,
);