From c7cf60c8375bfbfdbc2129967b99a79dd37237f9 Mon Sep 17 00:00:00 2001 From: Mahmood Ali Date: Wed, 25 Mar 2020 08:30:44 -0400 Subject: [PATCH] tests: test agent to use a noop auditor --- command/agent/agent_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/command/agent/agent_test.go b/command/agent/agent_test.go index 9dcd02a98..6950da55b 100644 --- a/command/agent/agent_test.go +++ b/command/agent/agent_test.go @@ -833,8 +833,9 @@ func TestServer_Reload_TLS_DowngradeFromTLS(t *testing.T) { } agent := &Agent{ - logger: logger, - config: agentConfig, + logger: logger, + config: agentConfig, + auditor: &noOpAuditor{}, } newConfig := &Config{