Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
test(infra): keep the optional-table restore spec out of public
Yudhi Armyndharis23c531066d06
diff --git a/src/modules/infra/infra-data.optional-tables.pg.spec.ts b/src/modules/infra/infra-data.optional-tables.pg.spec.tsindex 46f70a70b..a020e70ab 100644--- a/src/modules/infra/infra-data.optional-tables.pg.spec.ts+++ b/src/modules/infra/infra-data.optional-tables.pg.spec.ts@@ -92,7 +92,8 @@ describePostgres('PostgreSQL restore tolerates absent optional archive tables',ds = await new DataSource({...options,schema,- extra: { ...postgresUtcExtra(), options: `-c search_path=${schema},public` },+ // Only the scratch schema: a table dropped from it must read as absent, not resolve to one in public.+ extra: { ...postgresUtcExtra(), options: `-c search_path=${schema}` },entities,synchronize: true,}).initialize();