Merge remote-tracking branch 'origin/fix/pipeline-239-test-failures' into fix/security
# Conflicts: # apps/api/src/knowledge/services/fulltext-search.spec.ts # apps/orchestrator/src/git/secret-scanner.service.spec.ts
This commit is contained in:
@@ -23,11 +23,13 @@ async function isFulltextSearchConfigured(prisma: PrismaClient): Promise<boolean
|
||||
* Integration tests for PostgreSQL full-text search setup
|
||||
* Tests the tsvector column, GIN index, and automatic trigger
|
||||
*
|
||||
* NOTE: Tests that require the trigger/index will be skipped if the
|
||||
* database migration hasn't been applied. The first test (column exists)
|
||||
* will always run to validate the schema.
|
||||
* NOTE: These tests require a real database connection.
|
||||
* Skip when DATABASE_URL is not set. Tests that require the trigger/index
|
||||
* will be skipped if the database migration hasn't been applied.
|
||||
*/
|
||||
describe("Full-Text Search Setup (Integration)", () => {
|
||||
const describeFn = process.env.DATABASE_URL ? describe : describe.skip;
|
||||
|
||||
describeFn("Full-Text Search Setup (Integration)", () => {
|
||||
let prisma: PrismaClient;
|
||||
let testWorkspaceId: string;
|
||||
let testUserId: string;
|
||||
|
||||
Reference in New Issue
Block a user