Update tests/test_log.ps1

This commit is contained in:
2025-11-03 16:58:35 -06:00
parent 9b953af528
commit e01a0479e2

10
tests/test_log.ps1 Normal file
View File

@@ -0,0 +1,10 @@
# Script: test_log.ps1
# Objetivo: Crear un archivo de registro para confirmar la ejecución.
$LogPath = "C:\TEMP\safecloud_test_success.log"
$Timestamp = Get-Date -Format "yyyy-MM-dd HH:mm:ss"
$Content = "Prueba de Gitea y Action1 exitosa. El script se ejecutó el $Timestamp"
# Escribe el contenido en el archivo de registro
Set-Content -Path $LogPath -Value $Content -Force