From 72d3fa5f3dbad93d270498a72a7d6f33ac2d3aad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edu=20G=C3=B3mez=20Escandell?= Date: Tue, 28 Nov 2023 09:06:41 +0100 Subject: [PATCH] Fix wring environment variable in agent's test name Co-authored-by: Carlos Nihelton --- windows-agent/internal/daemon/daemon_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows-agent/internal/daemon/daemon_test.go b/windows-agent/internal/daemon/daemon_test.go index 664b802f4..1b1861f45 100644 --- a/windows-agent/internal/daemon/daemon_test.go +++ b/windows-agent/internal/daemon/daemon_test.go @@ -29,7 +29,7 @@ func TestNew(t *testing.T) { wantErr bool }{ "Success": {}, - "Error because of empty %USERDIRECTORY%": {badEnv: true, wantErr: true}, + "Error because of empty %USERPROFILE%": {badEnv: true, wantErr: true}, } for name, tc := range testCases {