diff --git a/command/agent/agent_test.go b/command/agent/agent_test.go index 6950da55b..0cbd42846 100644 --- a/command/agent/agent_test.go +++ b/command/agent/agent_test.go @@ -705,7 +705,8 @@ func TestServer_Reload_TLS_Certificate_Invalid(t *testing.T) { } agent := &Agent{ - config: agentConfig, + auditor: &noOpAuditor{}, + config: agentConfig, } newConfig := &Config{