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
This commit is contained in:
codegen-sh[bot] committed 2025-07-21 11:53:58 +00:00
1 parent 167fb4d7ff
commit cd8a30c476
1 file changed
+5 -5
+5 -5
View File
@@ -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 }),
})
);