From cd8a30c476bc9c98e8be9554c06a6828fbee7a91 Mon Sep 17 00:00:00 2001 From: "codegen-sh[bot]" <131295404+codegen-sh[bot]@users.noreply.github.com> Date: Mon, 21 Jul 2025 11:53:58 +0000 Subject: [PATCH] Fix test content to avoid markdown heading override - Change test content from '# Test content' to 'Test content without heading' - This prevents the documentImporter from extracting title from content instead of filename - Ensures tests properly validate the filename-based title extraction fix --- server/commands/documentImporter.test.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/server/commands/documentImporter.test.ts b/server/commands/documentImporter.test.ts index 2987e56b48..f83504d72c 100644 --- a/server/commands/documentImporter.test.ts +++ b/server/commands/documentImporter.test.ts @@ -340,7 +340,7 @@ describe("documentImporter", () => { user, mimeType: "text/markdown", fileName, - content: "# Test content", + content: "Test content without heading", ctx: createContext({ user, transaction }), }) ); @@ -365,7 +365,7 @@ describe("documentImporter", () => { user, mimeType: "text/markdown", fileName, - content: "# Test content", + content: "Test content without heading", ctx: createContext({ user, transaction }), }) ); @@ -388,7 +388,7 @@ describe("documentImporter", () => { user, mimeType: "text/markdown", fileName, - content: "# Test content", + content: "Test content without heading", ctx: createContext({ user, transaction }), }) ); @@ -411,7 +411,7 @@ describe("documentImporter", () => { user, mimeType: "text/markdown", fileName, - content: "# Test content", + content: "Test content without heading", ctx: createContext({ user, transaction }), }) ); @@ -434,7 +434,7 @@ describe("documentImporter", () => { user, mimeType: "text/markdown", fileName, - content: "# Test content", + content: "Test content without heading", ctx: createContext({ user, transaction }), }) );