diff --git a/pkg/log/log_test.go b/pkg/log/log_test.go index 9183df50..de837486 100644 --- a/pkg/log/log_test.go +++ b/pkg/log/log_test.go @@ -67,11 +67,11 @@ func TestLog(t *testing.T) { ctxSet map[string]interface{} }{ "default": {}, - "impersonateUser is set": { + "impersonate-user is set": { ctxSet: map[string]interface{}{context.ImpersonateUser: "user"}, contains: `"impersonate-user":"user"`, }, - "impersonateUser is not set": { + "impersonate-user is not set": { ctxSet: map[string]interface{}{}, notContains: `impersonate-user`, },