This commit is contained in:
Lizandro Guarnizo
2026-05-12 21:41:26 -05:00
parent 9ca202b3bd
commit fd8b5d68fa
10 changed files with 30 additions and 18 deletions
+2 -2
View File
@@ -164,7 +164,7 @@ func EjecutarTestCiclo(c *fiber.Ctx) error {
// ── PASO 1: Enviar correo de bienvenida ───────────────────────────────────
paso("paso 1 — envío de bienvenida", func() error {
return services.EnviarNotificacionGrupo(&reglaBienvenida, &cliente, []models.Contrato{contrato})
return services.EnviarNotificacionGrupo(&reglaBienvenida, &cliente, []models.Contrato{contrato}, "")
})
// Verificar log en DB
@@ -203,7 +203,7 @@ func EjecutarTestCiclo(c *fiber.Ctx) error {
if err != nil {
return err
}
return services.EnviarNotificacionGrupo(&reglaPago, &cliente, []models.Contrato{*reloadContrato})
return services.EnviarNotificacionGrupo(&reglaPago, &cliente, []models.Contrato{*reloadContrato}, "")
})
paso("paso 2 — verificar log de pago en historial", func() error {