fix: complete Phase 4 integration test fixes
- Fixed better-sqlite3 ES module imports across all tests - Updated template repository method to handle undefined results - Fixed all database column references to match schema - Corrected MCP transport initialization - All integration tests now passing
This commit is contained in:
@@ -113,8 +113,8 @@ export class TemplateRepository {
|
||||
) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
|
||||
`);
|
||||
|
||||
// Extract node types from workflow
|
||||
const nodeTypes = workflow.nodes.map(n => n.name);
|
||||
// Extract node types from workflow detail
|
||||
const nodeTypes = detail.workflow.nodes.map(n => n.type);
|
||||
|
||||
// Build URL
|
||||
const url = `https://n8n.io/workflows/${workflow.id}`;
|
||||
|
||||
Reference in New Issue
Block a user