test: align qdrant ollama verification fixtures
This commit is contained in:
@@ -210,7 +210,7 @@ llm_policy:
|
||||
})).vector_db).toMatchObject({ database: "vector_database", schema: "vectors" });
|
||||
});
|
||||
|
||||
test("documents the rendered writer secret-file binding for writer workspaces", () => {
|
||||
test("renders legacy writer secret-file bindings without reintroducing them to the active protocol", () => {
|
||||
const writerVariable = "THT_WS_PSD_CLINICAL_VECTOR_WRITER_API_KEY_FILE";
|
||||
const generated = renderWorkspaceDocs(parseWorkspaceYaml(`workspace:
|
||||
schema_version: 2
|
||||
@@ -245,7 +245,8 @@ llm_policy:
|
||||
expect(generated.envExample).toContain(`${writerVariable}=`);
|
||||
expect(existsSync(protocolPath)).toBe(true);
|
||||
if (existsSync(protocolPath)) {
|
||||
expect(readFileSync(protocolPath, "utf8")).toContain(writerVariable);
|
||||
expect(readFileSync(protocolPath, "utf8")).not.toContain(writerVariable);
|
||||
expect(readFileSync(protocolPath, "utf8")).toContain("There are no supported `THT_WS_<NAMESPACE>_VECTOR_*`");
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user