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:
@@ -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`,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user